Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'assignment': 0.07; 'url:github': 0.09; "(i'm": 0.16; '.py': 0.16; 'breakpoint': 0.16; 'conditional': 0.16; 'guessing': 0.16; 'subject:Conditional': 0.16; 'thanks,': 0.17; 'all,': 0.19; 'stack': 0.19; 'message-id:@mail.gmail.com': 0.30; 'breaking': 0.31; 'file': 0.32; 'received:google.com': 0.35; 'doing': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'simple': 0.61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UiVP00S3mHD7mteS+mwN3zGSpcmwJw0DumFGE/lK+Hc=; b=zbXA+0NDmYG7tIUn1os9MR9bGkW2Hjwed747+nxUUn8/RH0q5gn5PW8ae09FtVRMwA CrKot1V+kJw3vitGfBu8E0uDk2fjMYpOZSJ6tGgZ6aISa8TH9xD0FeAVARoWKu4BCF91 gVCI+YIL24XKtMRXgFO2UFyCjxfahA1euKLa1cCE9g/IlDMA5Xcht7/9rnPuJFEtuxZY +2IKjfQ7j2lCUjl8IWzitO4kAAoLwRyvJTI45RqFv6JZUNWxAnOcApPndroEAN+BnA39 gwOw/RReCJFFrWEKYJF11MvuYEJtukmNjeFXpfX75N633s4IHlH0mkUwGzN5t5UcAMPw NtuQ== MIME-Version: 1.0 X-Received: by 10.180.188.49 with SMTP id fx17mr4466427wic.33.1383962631608; Fri, 08 Nov 2013 18:03:51 -0800 (PST) Date: Fri, 8 Nov 2013 18:03:51 -0800 Subject: Conditional breakpoints in ceval.c From: Demian Brecht To: Python Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383962639 news.xs4all.nl 15932 [2001:888:2000:d::a6]:56284 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58891 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