Menu

debug python scripts from pythonQt application

Help
2014-05-26
2014-05-27
  • Florian Link

    Florian Link - 2014-05-26

    Yes, the key element to get this working is that you need to import the debugger into the embedded Python inside of your application and need to run the debugger.

    import sys
    sys.path.append("C:\Python27\Lib\site-packages")
    import rpdb2; rpdb2.start_embedded_debugger('mevis')

    This will then automatically connect to the running WinPDB debugger.

     
  • Alexis Jeandet

    Alexis Jeandet - 2014-05-27

    Hi, thank you very much, it works perfectly. It's unbelievable how it's simple to use. Once again great job!
    By the way here is our free project using PythonQt:
    https://hephaistos.lpp.polytechnique.fr/redmine/projects/socexplorer/wiki/Wiki

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.