2012 Dec 12 7:25 PM
Is it possible to update code change in debugger while debugging. To be more precise, in debugger screen menu by going to Miscellaneous -> Load Current Source Code updates the code on the screen but when debugging the program still follows the path of the previous program.
2012 Dec 12 7:30 PM
Hi Narayana,
You are doing it correctly , that is how its done but some times it follows the previous path of the old code due to refresh problem.
Try to generate the program in a separate session after making the changes .
Hope this will help.
Regards,
Amit
2012 Dec 13 12:56 AM
Hi Amit,
My intention is to have temporary code for a debugging session. i.e, I want to delete the changes after debugging.
Thanks,
Narayana
2012 Dec 13 1:46 AM
HI Narayana,
If you are talking about writing some code at run time in the debugger itself, then i doubt that this feature is not available as of now.
But if you are making the code changes along with the debugging then the new code can be uploaded in the current debugging session.
Hope this will resolve your question.
Regards,
Amit
2012 Dec 13 6:37 AM
Hi,
You cannot add code temporarily through debugger.
But you can make changes in program and then make it effective in the current session by using the menu option.