src/eric7/Debugger/DebuggerInterfacePython.py

branch
eric7
changeset 9320
22eef25d2956
parent 9221
bf71ee032bb4
child 9371
1da8bc75946f
child 9388
bfe7ea6599a3
equal deleted inserted replaced
9319:13fa876491bd 9320:22eef25d2956
5 5
6 """ 6 """
7 Module implementing the Python3 debugger interface for the debug server. 7 Module implementing the Python3 debugger interface for the debug server.
8 """ 8 """
9 9
10 import sys
11 import os 10 import os
12 import logging 11 import logging
13 import shlex 12 import shlex
14 import contextlib 13 import contextlib
15 14
206 getConfig("ericDir"), "DebugClients", "Python", "DebugClient.py" 205 getConfig("ericDir"), "DebugClients", "Python", "DebugClient.py"
207 ) 206 )
208 else: 207 else:
209 debugClient = Preferences.getDebugger("DebugClient3") 208 debugClient = Preferences.getDebugger("DebugClient3")
210 if debugClient == "": 209 if debugClient == "":
210 # use the 'standard' debug client if no custom one was configured
211 debugClient = os.path.join( 211 debugClient = os.path.join(
212 sys.path[0], "DebugClients", "Python", "DebugClient.py" 212 getConfig("ericDir"), "DebugClients", "Python", "DebugClient.py"
213 ) 213 )
214 214
215 redirect = ( 215 redirect = (
216 str(configOverride["redirect"]) 216 str(configOverride["redirect"])
217 if configOverride and configOverride["enable"] 217 if configOverride and configOverride["enable"]

eric ide

mercurial