Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #58569

[solved]Re: Python PDB conditional breakpoint

From Tom P <werotizy@freent.dd>
Newsgroups comp.lang.python
Subject [solved]Re: Python PDB conditional breakpoint
Date 2013-11-06 16:26 +0100
Message-ID <bdv5drFtogfU1@mid.individual.net> (permalink)
References <bdv4ltFtjmlU1@mid.individual.net>

Show all headers | View raw


On 06.11.2013 16:14, Tom P wrote:

ok I figured it. ID is a tuple, not a simple variable.
  The correct test is ID[0]==11005


> I can't get conditional breakpoints to work. I have a variable ID and I
> want to set a breakpoint which runs until ID==11005.
>
> Here's what happens -
>

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Python PDB conditional breakpoint Tom P <werotizy@freent.dd> - 2013-11-06 16:14 +0100
  [solved]Re: Python PDB conditional breakpoint Tom P <werotizy@freent.dd> - 2013-11-06 16:26 +0100

csiph-web