george7a
19th January 2007, 16:01
Hello All,
I would like to share with you this interesting way of stopping your code in debug mode.
Many times while debugging my code I "miss" the breakpoint/s that I have set, so I used to stop the program (specially when the code has long loops), run it again and debug it slower (I guess many of us used to do this too). Well, we don't have to! All we have to do is to open the shell and type "debug <PID>" (PID is the Process ID number that we are debugging) and it will stop the debugged code wherever it was!
I hope you will find this helpful.
Best Regards,
- George
I would like to share with you this interesting way of stopping your code in debug mode.
Many times while debugging my code I "miss" the breakpoint/s that I have set, so I used to stop the program (specially when the code has long loops), run it again and debug it slower (I guess many of us used to do this too). Well, we don't have to! All we have to do is to open the shell and type "debug <PID>" (PID is the Process ID number that we are debugging) and it will stop the debugged code wherever it was!
I hope you will find this helpful.
Best Regards,
- George