Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.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.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'debugging': 0.07; 'thread': 0.14; 'conditional': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'putting': 0.22; 'tests': 0.22; 'to:name:python-list@python.org': 0.22; "i've": 0.25; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; "skip:' 10": 0.31; 'occurs': 0.31; 'problem': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'should': 0.36; 'unit': 0.37; 'two': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'called': 0.40; 'high': 0.63; 'together,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4YUYqZ+j4sQcneUjaoH3iZKYuGEPB7fnNzPB03O50l0=; b=JBauknNSgxImnNECfwUsOCQY3L5wWf9ZYy6ezKmGS1pNlb9Met8vUFH/bqLEchowib gHAY0FA5XWGw12cYhNscwLo14oDy2ZLu7r/ti0h1nPouidC9JF6JtnucZsapic1o03Zj xhw5UwEzK1zVRQgV4PaEwZKF3LpBKSKaZ1ty3BOIc8RKxYYuz4HyaAD7vzMzCDajeRwH yIGRBLGOApG50h43aVHkyUS7I7V88QakMarxO6ScdtqbbWRdy55zEL4DVzA4PjXGMvJ/ T1le0VVPQihdpGDzq9EM8HkiRO2AbdDPw0eiTZ62aku6LtUS65Bily77JP9QZvcIp2EM rfNA== MIME-Version: 1.0 X-Received: by 10.220.59.65 with SMTP id k1mr1019443vch.22.1401849336333; Tue, 03 Jun 2014 19:35:36 -0700 (PDT) In-Reply-To: <87fvjlv22v.fsf@vostro.rath.org> References: <87fvjlv22v.fsf@vostro.rath.org> Date: Wed, 4 Jun 2014 12:35:36 +1000 Subject: Re: Missing stack frames? From: Chris Angelico To: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401849345 news.xs4all.nl 2941 [2001:888:2000:d::a6]:38090 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72580 On Wed, Jun 4, 2014 at 12:30 PM, Nikolaus Rath wrote: > I've instrumented one of my unit tests with a conditional > 'pdb.set_trace' in some circumstances (specifically, when a function is > called by a thread other than MainThread). I think the likelihood of this being an issue with interactive debugging and threads is sufficiently high that you should avoid putting the two together, at least until you can verify that the same problem occurs without that combination. ChrisA