Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5411
| 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 | [Python-de] Tracing mit hunter macht Laune |
| Date | Thu, 24 Jan 2019 13:31:29 +0100 |
| Lines | 26 |
| Message-ID | <mailman.349.1548333415.4816.python-de@python.org> (permalink) |
| References | <1422843c-8e11-a526-966a-eff74a3cb136@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 PNuNRBb3UOSuAz/RB2j/VAY85CQ09igc8batqXPTZppQ== |
| 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 |
| 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 | <1422843c-8e11-a526-966a-eff74a3cb136@thomas-guettler.de> |
| Xref | csiph.com de.comp.lang.python:5411 |
Show key headers only | View raw
Hallo,
hier kommt keine Frage sondern Begeisterung.
Ich habe mal hunter[1] ausprobiert.
Die Aktivierung über die Umgebungsvariable ist etwas komisch,
aber das Ergebnis ist wirklich schön:
PYTHONHUNTER="module_startswith='mymod'" myscript.py myargs
Ich persönlich bin kein großer Freund vom Debugger und dem zeilenweisen
Durchhopseln durch den Code. Per Tracing sehe ich was er macht. Das
zusammen mit print+assert reicht meist voll aus.
Wie seht ihr das?
Gruß,
Thomas
[1] https://pypi.org/project/hunter/
--
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 — Next in thread | Find similar
[Python-de] Tracing mit hunter macht Laune Thomas Güttler <guettliml@thomas-guettler.de> - 2019-01-24 13:31 +0100 Re: [Python-de] Tracing mit hunter macht Laune Hermann Riemann <nospam.ng@hermann-riemann.de> - 2019-01-25 15:56 +0100
csiph-web