Skip to main content
gamedev.net
🔒 Locked

[.net] Problems Debugging...

Started by Deathwind 0 replies 300+ views
Original Post
Deathwind
Deathwind
I'm having a problem with debug mode when my program crashes, instead of going to the line in the source, it goes to disassembly. My friend said that it is something in my project settings, anyone know what to do to fix this? This problem extends to the stackwalk when I try to step backwards, they all go to dissassembly instead of my source...
Talonius
Talonius
Are you compiling using the debug configuration? (Build -> Configuration Manager -> Active Solution Configuration)

Is the Project you're trying to debug listed in the above window as "Debug" configuration?

Right click on your project and choose Properties. Go to Configuration Properties -> Build. Is "Generate Debugging Information" under Outputs set to true? Does "Conditional Compilation Constants" under Code Generation read "DEBUG;TRACE"? Is optimize code under Code Generation set to false?

Those are the biggies that I know of.
..what we do will echo throughout eternity..

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.