I don't like debugging in a debugger, because I think it is often below the abstraction layer of the programming language and it is often not reproducible. I favor using unit tests when possible and I think they are a good way, but it is not always that easy to implement them. Do you know about any other alternative approaches to avoid the use of a debugger?
A debugger is a tool saying I want to avoid a debugger is like a carpenter saying I want to avoid a hammer. You are better of asking the question When should I avoid using the debugger?
Times when you should avoid using the debugger,
I am sure there are other times when using a debugger is a bad idea, but my point is your question is wrong. Don't ask how do I not use the debugger but ask when should I/shouldn't I use the debugger.
my 2cents
Think! :) - Seriously, though - before debuggers were commonly available, most people would troubleshoot their code by writing lots of state information to their output device. It still works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With