[pypy-issue] [issue1055] Provide a way to disable translation debugger

Dirkjan Ochtman tracker at bugs.pypy.org
Thu Feb 16 10:04:00 CET 2012


New submission from Dirkjan Ochtman <dirkjan at ochtman.nl>:

We have been carrying this patch. Even if you want to keep the debugger, perhaps
there could be an option to disable it?

--- pypy-pypy-release-1.7/pypy/translator/goal/translate.py.bak 2011-11-29
14:23:55.000000000 +0100
+++ pypy-pypy-release-1.7/pypy/translator/goal/translate.py     2011-11-29
14:24:16.000000000 +0100
@@ -255,8 +255,6 @@
             log.event("batch mode, not calling interactive helpers")
             return

-        log.event("start debugger...")
-
         if translateconfig.view:
             try:
                 t1 = drv.hint_translator
@@ -266,8 +264,6 @@
             page = graphpage.TranslatorPage(t1, translateconfig.huge)
             page.display_background()

-        pdb_plus_show.start(tb)
-
     try:
         drv = driver.TranslationDriver.from_targetspec(targetspec_dic, config,
args,
                                                        empty_translator=t,

----------
messages: 3945
nosy: djc, pypy-issue
priority: bug
status: unread
title: Provide a way to disable translation debugger

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1055>
________________________________________


More information about the pypy-issue mailing list