changeset 0
child 59
equal deleted inserted replaced
-1:000000000000 0:de9c2efb9d02
1 README for passive mode debugging
3 eric4 provides the capability to debug programms using the passive
4 mode. In this mode it is possible to start the debugger separate from
5 the IDE. This may be done on a different computer as well. If the
6 debugger is started on a remote machine, it is your responsibility
7 to ensure, that the paths to the script to be debugged are identical
8 on both machines.
10 In order to enable passive mode debugging in the IDE choose the
11 debugger tab of the preferences dialog and enable the passive mode
12 debugging checkbox. You may change the default port as well. Please
13 be aware that you have to tell the debugger the port, if it is different to the
14 default value of 42424.
16 On the remote computer you have to have the debugger scripts installed.
17 Use to debug normal scripts or
18 to debug multi threaded scripts. The debuggers know about the following
19 commandline switches.
21 -h <hostname> -- this specifies the hostname of the machine running the IDE.
23 -p <portnumber> -- this specifies the portnumber of the IDE.
25 -w <directory> -- this specifies the working directory to be used for the script
26 to be debugged.
28 -t -- this enables tracing into the Python library
30 -n -- this disables the redirection of stdin, stdout and stderr
32 The commandline parameters have to be followed by '--' (double dash),
33 the script to be debugged and its commandline parameters.
35 Example::
36 python DebugClient -h somehost -- param1
38 After the execution of the debugger command, it connects to the IDE and
39 tells it the filename of the script being debugged. The IDE will try to load it
40 and the script will stop at the first line. After that you may set breakpoints,
41 step through your script and use all the debugging functions.
43 Note: The port and hostname may alternatively be set through the environment
44 variables ERICPORT and ERICHOST.
46 Please send bug reports, feature requests or contributions to eric bugs address
47 <> or using the buildt in bug reporting dialog.

eric ide