Skip to main content
gamedev.net
🔒 Locked

C# debugging

Started by Geronimo2000 1 reply 350+ views
Original Post
Geronimo2000
Geronimo2000
I am working on a C# Direct3D project with VS .NET. When I look at objects of type Vector3 (for example) in the debugger, it says "No Runtime Value". The program works fine, but I need to know how I can look at my variables in the debugger. Any ideas? Also, would anyone know what the ''Debug Managed Code'' option will do for you? I turned it on, and it didn''t solve my above problem, so I was wondering what things it would allow me to do which I couldn''t already do. Thanks for any help or input you can give.
3DXD
3DXD
Really stupid question, but are you in "debug" mode versus "release" mode.
Geronimo2000
Geronimo2000
I wouldn''t assume too much about my competence But yes, it is in Debug. I started working on a different machine, and the problem hasn''t shown up (yet). I wonder if it''s a .NET assembly issue. Hmmm...

Actually, I don''t even know of a way to break in the debugger when a C# program is in Release mode. I mean, there''s only like 4 options in the project properties anyway, and so a Release with Debug Info build is beyond me at this point.

Topic Locked

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

Sign in to reply to this topic.