README-passive-debugging.rst

changeset 5422
222da86472d9
parent 4266
17c215c416ba
equal deleted inserted replaced
5421:ce62341e81b6 5422:222da86472d9
9 on both machines. 9 on both machines.
10 10
11 In order to enable passive mode debugging in the IDE choose the 11 In order to enable passive mode debugging in the IDE choose the
12 debugger tab of the preferences dialog and enable the passive mode 12 debugger tab of the preferences dialog and enable the passive mode
13 debugging checkbox. You may change the default port as well. Please 13 debugging checkbox. You may change the default port as well. Please
14 be aware that you have to tell the debugger the port, if it is different to the 14 be aware that you have to tell the debugger the port, if it is different
15 default value of 42424. 15 to the default value of 42424.
16 16
17 On the remote computer you have to have the debugger scripts installed. 17 On the remote computer you have to have the debugger scripts installed.
18 Use DebugClient.py to debug normal scripts or DebugClientThreads.py 18 Use DebugClient.py to debug normal and multi threaded scripts. The debugger
19 to debug multi threaded scripts. The debuggers know about the following 19 knows about the following commandline switches.
20 commandline switches.
21 20
22 :: 21 ::
23 22
24 -h <hostname> 23 -h <hostname>
25 This specifies the hostname of the machine running the IDE. 24 This specifies the hostname of the machine running the IDE.
45 Example:: 44 Example::
46 45
47 python DebugClient -h somehost -- myscript.py param1 46 python DebugClient -h somehost -- myscript.py param1
48 47
49 After the execution of the debugger command, it connects to the IDE and 48 After the execution of the debugger command, it connects to the IDE and
50 tells it the filename of the script being debugged. The IDE will try to load it 49 tells it the filename of the script being debugged. The IDE will try to
51 and the script will stop at the first line. After that you may set breakpoints, 50 load it and the script will stop at the first line. After that you may set
52 step through your script and use all the debugging functions. 51 breakpoints, step through your script and use all the debugging functions.
53 52
54 Note: The port and hostname may alternatively be set through the environment 53 Note: The port and hostname may alternatively be set through the environment
55 variables ERICPORT and ERICHOST. 54 variables ERICPORT and ERICHOST.
56 55
57 Please send bug reports, feature requests or contributions to eric bugs address 56 Please send bug reports, feature requests or contributions to eric bugs address

eric ide

mercurial