Anaconda should be rewritten in a compiled language!

Chris Lumens clumens at redhat.com
Mon Feb 20 22:39:23 UTC 2012


> No packages need to be installed, everything is right there in the
> install environment. In the window with the traceback, there's a
> 'debug' option that will drop you into PDB (I haven't looked at the
> code, but it probably calls pdb.post_mortem() with the exception
> object). See http://docs.python.org/library/pdb.html#module- pdb for
> more details on the debugger itself.

That's exactly what it does:

    def runDebug(self, (ty, value, tb)):
        """This method is called when the "Debug" button is clicked.  It may
           be overridden by a subclass if specialized behavior is required to
           enter debug mode.
        """
        import pdb
        pdb.post_mortem(tb)
        os.kill(os.getpid(), signal.SIGKILL)

- Chris


More information about the test mailing list