debug RRS feed

  • Question

  • How can i  change values while debugging? is it possible?
    Thursday, March 15, 2007 6:56 AM

All replies

  • ya it is possible to change values while debugging...
    Thursday, March 15, 2007 11:47 AM
  •  maneesh_singh_2acd74 wrote:
    ya it is possible to change values while debugging...

    before debugging set the breakpoint just after the line or statements where u have assigned values to variables. during debugging yr program execution will stop at the line... wat u have to do is to just place yr cursor on the variable it will show  in a little rectangle the variable and the assigned value. right click on the variable and a menu will appear in which u have to select edit value.... and yr work is done......

    just remember to place your breakpoint after the line or statement where u have assigned values. else u will get some garbage value there....

    Thursday, March 15, 2007 12:23 PM
  • you can use the trap flag friend

    u can view the program flow step by step
    Thursday, March 15, 2007 12:31 PM
  • Even if i put a breakpoint and change value, wont it ask for restarting the debug again?
    Friday, March 16, 2007 6:23 AM
  • no it wont ask for debug the program again just click the continue option in the debugging menu.......
    Friday, March 16, 2007 7:59 AM
  • i don think the break points wud help u...rather u go for watches and change the values as u want before re-compiling the programs...
    Friday, March 16, 2007 2:13 PM