Just to add... The current variables are on the right hand side of the editor window when the debugger is 'active'.
Make sure you have set the build mode to 'Debug' build if you want to use the debugger features. In standard MaxIDE menus go to Program/Build Options and make sure that Debug Build is ticked.
When you are in Debug Build mode and an error occurs in your program that would normally crash the program ( say you index an array out of bounds, or try to draw an image that isnt loaded correctly ) then the debugger will open at the line thats caused the crash ( bear in mind this isnt necessarily the line that is at fault! ) but you can look into your variables values in the right hand side of the editor to work out why it has happened.
If you're not in Debug Build and you get an error, instead of the debugger, you'll get a crash, which will usually give you an Exception Error with no idea of what has caused it.
|