a newbie question about debug

F

flyaflya

I use pdb.set_trace() to debug code.the Debugger Commands "enable" and
"disable" need argumet -- "breakpoint number",but I can't find any
information about it,so how to can i get the breakpoint number? I think
"disable","enable" are very useful commands...
 
F

flyaflya

flyaflya said:
I use pdb.set_trace() to debug code.the Debugger Commands "enable" and
"disable" need argumet -- "breakpoint number",but I can't find any
information about it,so how to can i get the breakpoint number? I think
"disable","enable" are very useful commands...
I know why I can't get breakpoint list using command "b", beacause I use
pdb.set_trace() to set breakpoint ,but this break can't be shown by
"b",breakpoint only setted during debuging can be shown.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top