Techniques for Working Without a Debugger [closed]
- by ashes999
Possible Duplicate:
How to effectively do manual debugging?
Programming in a debugger is ideal. When I say a debugger, I mean something that will allow you to:
Pause execution in the middle of some code (like a VM)
Inspect variable values
Optionally set variable values and call methods
Unfortunately, we're not always blessed to work in environments that have debuggers. This can be for reasons such as:
Debugger is too too too slow (Flash circa Flash 8)
Interpreted language (Ruby, PHP)
Scripting language (eg. inside RPG Maker XP)
My question is, what is an effective way to debug without a debugger? The old method of "interleave code with print statements" is time-consuming and not sufficient.