Document on how to remotely debug applications #211
Description
Remote debugging feature of taurus application lacks of documentation.
This could sarve as a base:
Two ways: using rpdb and using a console
1- Debugging using rpdb (winpdb bliss pkg):
On a TaurusMainWindow-based GUI, you can activate it at any moment with
the very intuitive key combo "CTRL+ALT+0, 1" (i.e., first press and
release CTRL+ALT+0 and then press 1)
A pop-up asks for a password. Put something (this will be the password
required for the remote debugger client to connect). Then a pop-up
informs that the GUI will be frozen (click ok)
Now open winpdb and go to File-->attach
enter the password, find the GUI to which you want to attach and start
debugging.
2- Debugging using rconsole:
You can launch the taurus app with --remote-console-port=PORT or you if
it is a GUI you can open the port after launch with "CTRL+ALT+0, 2"
Then, connect to it by running:
rconsole -p PORT
More info on
http://winpdb.org/docs/
http://winpdb.org/2010/09/rconsole-remote-python-console/
Reported by: reszelaz ( http://sf.net/u/zreszela )