简体   繁体   中英

VS2013 - Moving a simple Breakpoint

I thought this would be obvious to find so I might be asking the wrong question. Anyways.

There is a god class which is throwing a null reference exception (OMG RIGHT!). There is a huge try catch. So I catch the error then I scroll all the way to the top of the method with my debugger. (5 mins later...) step step step. Error found.

Is there a way in VS where I can right click on a line and it will move my debugger to that line without me having to drag this pesky thing around?

Thanking you kindly,

PS I use Resharper just in case that has the answer. Simpsons.

Ctrl+Shift+F10 should move the yellow instruction pointer.

The red breakpoints cannot be moved. You can set or unset those with F9.

In addition, the following may be useful for you, because it will stop when the NullReferenceException is thrown:

Debug / Exceptions ...

抛出时断裂

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM