h1. Python Debug It is possible to use a Python debugger with SocExplorer, to do so you need to install winpdb (packaged on fedora). * First you have to start the server from SocExplorer python console, you just need to type:


import rpdb2; rpdb2.start_embedded_debugger('some password')

  
p=. !{width: 80%}SocExplorerRpdbStart.png(SocExplorerPlot rpdb2 start)! * Then you have to start winpdb, and connect it to your running rpdb2 server (File->Attach): p=. !{width: 20%}WinPdbAttach.png(Winpdb attach)! Note that you have to provide the same password than used to start the server! You should get a list of running sessions like this: p=. !{width: 20%}WinPdbSessionsList.png(Winpdb sessions list)! And once connected, you should get this: p=. !{width: 80%}ConnectedWinpdb.png(Winpdb connected)! * Now if you want to add some breakpoints you need to open the python file from winpdb(File->Open Source) and set them: p=. !{width: 80%}WinpdbWithSomeBPs.png(Winpdb with some breakpoints)! Note that you need to click on the arrow to start debugging but SocExplorer will not evaluate the python file, you need to execute by dragging your file in the SocExplorer Python console, then have some fun!