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


Groups > comp.lang.python > #58891

Conditional breakpoints in ceval.c

Date 2013-11-08 18:03 -0800
Subject Conditional breakpoints in ceval.c
From Demian Brecht <demianbrecht@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2274.1383962639.18130.python-list@python.org> (permalink)

Show all headers | View raw


Hi all,

I have an .py file with a simple assignment in it:
foo = 'bar'

Now, I want to set a conditional breakpoint in gdb, breaking on that
assignment (I'm guessing the top of the stack would be breaking on the
LOAD_CONST with a value or 'bar'). How would I go about doing that?

b ceval.c:1368 if [?]

Thanks,

-- 
Demian Brecht
http://demianbrecht.github.com

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


Thread

Conditional breakpoints in ceval.c Demian Brecht <demianbrecht@gmail.com> - 2013-11-08 18:03 -0800
  Re: Conditional breakpoints in ceval.c Ned Batchelder <ned@nedbatchelder.com> - 2013-11-09 05:24 -0800
    Re: Conditional breakpoints in ceval.c David Froger <david.froger@inria.fr> - 2013-11-12 09:44 +0100

csiph-web