6/06/2008

Reset and Debug

Reset:
gROOT->Reset()

  1. Calls destructors of all objects created on the stack
  2. Objects on Heap are not deleted, but pointer variable is disassociated
Debug:
  • .e continue to end of the function
  • .c continue to next breakpoint
  • .c 45 continue to line 45
  • .p print the value of var
  • .b 34 sets a break point at line 34
  • .db 34 removes the break point at line 34

没有评论: