Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5394
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Thomas Güttler <guettliml@thomas-guettler.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Tool wie "top", das zeigt, was der Interpreter gerade macht |
| Date | Wed, 9 Jan 2019 09:13:50 +0100 |
| Lines | 33 |
| Message-ID | <mailman.162.1547021610.4816.python-de@python.org> (permalink) |
| References | <f114040b-8453-e479-e335-8f3545291f27@thomas-guettler.de> <e64925e7-3737-a9c5-3de1-95c8cb851708@arnoldarts.de> <mailman.154.1546972860.4816.python-de@python.org> <tracing-20190108234010@ram.dialup.fu-berlin.de> <eeeb0196-c0f1-4ba0-bd6f-9df0ed797da2@thomas-guettler.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de YyQtRtzpmc85orgjffnVBQ1qDCLq6IbRbrZxrdZWgOtA== |
| Return-Path | <guettliml@thomas-guettler.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
| In-Reply-To | <tracing-20190108234010@ram.dialup.fu-berlin.de> |
| Content-Language | de-DE |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.29 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <eeeb0196-c0f1-4ba0-bd6f-9df0ed797da2@thomas-guettler.de> |
| X-Mailman-Original-References | <f114040b-8453-e479-e335-8f3545291f27@thomas-guettler.de> <e64925e7-3737-a9c5-3de1-95c8cb851708@arnoldarts.de> <mailman.154.1546972860.4816.python-de@python.org> <tracing-20190108234010@ram.dialup.fu-berlin.de> |
| Xref | csiph.com de.comp.lang.python:5394 |
Show key headers only | View raw
Am 08.01.19 um 23:41 schrieb Stefan Ram: > Arnold Krille <arnold@arnoldarts.de> writes: >> also die zwei Standardmethoden, die mir helfen wenn ich wissen will, was >> meine Skripte und Programme gerade ungefähr oder genau tun: >> - logging, gerne bei direkter Ausführung auf die stderr >> - Fortschrittsanzeigen > > Es gibt auch noch Tracing, etwa wie in: > > import sys, trace > tracer = trace.Trace\ > ( ignoredirs=[ sys.prefix, sys.exec_prefix ], trace=1, count=1 ) > tracer.run( 'main()' ) > r = tracer.results() > r.write_results( show_missing=True, summary=True ) > > . Mit »ignoredirs=[]« kann man damit wohl auch in die > Bibliotheken reinschauen. Das ist auch cool. Kann man das einem Befehl voranstellen so wie bei "nice" oder "strace"? Gruß, Thomas Güttler -- Thomas Guettler http://www.thomas-guettler.de/ I am looking for feedback: https://github.com/guettli/programming-guidelines
Back to de.comp.lang.python | Previous | Next — Previous in thread | Find similar
Re: [Python-de] Tool wie "top", das zeigt, was der Interpreter gerade macht Arnold Krille <arnold@arnoldarts.de> - 2019-01-08 19:40 +0100 Re: [Python-de] Tool wie "top", das zeigt, was der Interpreter gerade macht Thomas Güttler <guettliml@thomas-guettler.de> - 2019-01-09 09:13 +0100
csiph-web