a newbie question about debug

Discussion in 'Python' started by flyaflya, May 31, 2005.

  1. flyaflya

    flyaflya Guest

    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...
    flyaflya, May 31, 2005
    #1
    1. Advertising

  2. flyaflya

    flyaflya Guest

    flyaflya wrote:
    > 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.
    flyaflya, May 31, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. RonL
    Replies:
    0
    Views:
    738
  2. Caldwell

    debug newbie question

    Caldwell, Aug 12, 2003, in forum: C++
    Replies:
    4
    Views:
    325
    Howard
    Aug 12, 2003
  3. ringos75
    Replies:
    0
    Views:
    954
    ringos75
    Apr 14, 2005
  4. Mike C. Fletcher
    Replies:
    3
    Views:
    981
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Oct 12, 2003
  5. André
    Replies:
    3
    Views:
    1,585
Loading...

Share This Page