src/eric7/Debugger/DebuggerInterfacePython.py

branch
eric7-maintenance
changeset 9371
1da8bc75946f
parent 9264
18a7312cfdb3
parent 9320
22eef25d2956
child 9442
906485dcd210
equal deleted inserted replaced
9306:90dc02c8a384 9371:1da8bc75946f
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