• 0

Visual Studio 2010 debugging help


Question

Hi,

I am trying to debug a console app in VS 2010 Ultimate and I see the error come up on the console screen but it isn't highlighting the line of where the error occurred, how can i fix this i can't work out why its doing that, its not very useful when I see a bunch of errors in the console then the app closes and gives me nothing!?

Matt.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You can insert breakpoints in your application and then click F11 to debug the next lines. This helps alot :).

I actually done that and it don't breakpoint either lol, basically it isn't debugging at all :s when I press debug

Link to comment
Share on other sites

  • 0

Make sure you are in debug configuration and not release. And that full debug symbols are generated. If the exception is too stubborn, click on debug, Exceptions and Select "Thrown" against Common Language Runtime Exceptions.

Oh thanks, It turns out that in the Exceptions it isn't set to throw the error, thanks! :)

Link to comment
Share on other sites

This topic is now closed to further replies.