Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.chainon-marquant.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.031 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:ANN': 0.02; 'subject:when': 0.07; 'python': 0.08; '(good': 0.09; 'received:eu': 0.09; 'url:github': 0.09; 'subject:python': 0.10; 'function)': 0.16; '(or': 0.22; 'stack': 0.24; 'remote': 0.28; 'print': 0.29; 'analyzing': 0.30; 'installation': 0.30; 'subject:?': 0.31; 'header:User-Agent:1': 0.33; 'header:X -Complaints-To:1': 0.33; 'received:209.85.160': 0.33; 'stuck': 0.34; 'running': 0.35; 'modules': 0.35; 'notes': 0.35; 'header:Received:8': 0.36; 'variables': 0.37; 'two': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'finding': 0.39; 'received:prod.google.com': 0.40; 'received:209': 0.40; 'received:10.192': 0.40; 'more': 0.61; 'here:': 0.66; 'inspection': 0.67; 'features:': 0.73; 'to:addr:moderators.isc.org': 0.73; 'subject:gets': 0.84; 'hardcore': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=x-authentication-warning:to:path:from:newsgroups:subject:date :organization:lines:message-id:nntp-posting-host:mime-version :content-type:x-trace:x-complaints-to:nntp-posting-date :complaints-to:injection-info:user-agent:x-google-web-client :x-google-header-order:x-http-useragent; bh=jXTIScMKoigPyK0RYc8qYVcb279SxqO09RewCIZ5DN4=; b=wCh8XjeGpq0KUXwXS/dxf2bf9zmbdHraPVQOAJxiRl7PfVrSZdo9brzdMUOUELBgp/ pGlDPSlDwvavaKqJaDHDolarYxI7Z5IR/YO/iCgVH37IviO54/od7ww2oKQdRXqyvuON OxhvQZu/rF4yAKyqPWoltvaW3VucQNj+ihCYs= X-Authentication-Warning: yws13.prod.google.com: news set sender to news@google.com using -f To: comp-lang-python-announce@moderators.isc.org From: Alon Horev Newsgroups: comp.lang.python.announce Subject: ANN: pystuck - or what to do when python gets stuck? Date: Fri, 16 Dec 2011 07:42:12 -0800 (PST) Organization: http://groups.google.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Complaints-To: groups-abuse@google.com Injection-Info: cb3g2000vbb.googlegroups.com; posting-host=84.229.9.113; posting-account=1iaHKAoAAABmFF2vJkx9BiSaC8bcaNBg User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ASELCHRU X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7,gzip(gfe) X-Mailman-Approved-At: Fri, 16 Dec 2011 17:06:47 +0100 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1324051608 news.xs4all.nl 6953 [2001:888:2000:d::a6]:40902 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python.announce:439 pystuck.py is a utility for analyzing stuck python programs (or just hardcore debugging). pystuck currently has two major features: 1. print all running threads' stack traces. (good for finding a long- lasting/blocking function) 2. remote inspection of modules and variables without interrupting the program. (finding deadlocks and such) more examples, usage and installation notes can be found here: https://github.com/alonho/pystuck