Re: Anaconda should be rewritten in a compiled language!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux