Skip to content

Commit 08ac9ac

Browse files
committed
reset debugged file name when stopping
1 parent c47bc2a commit 08ac9ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/python-debugger-view.coffee

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ class PythonDebuggerView extends View
128128
stopApp: ->
129129
@backendDebugger?.stdin.write("\nexit()\n")
130130
@backendDebugger = null
131+
@debuggedFileName = null
132+
@debuggedFileArgs = []
131133
console.log "debugger stopped"
132134

133135
clearOutput: ->
@@ -149,7 +151,7 @@ class PythonDebuggerView extends View
149151
!@debuggedFileName
150152

151153
askForPaths: ->
152-
@addOutput("To use a different entry point, set file to debug using e=fileName")
154+
@addOutput("To set or change the entry point, set file to debug using e=fileName")
153155

154156
initialize: (breakpointStore) ->
155157
@breakpointStore = breakpointStore

0 commit comments

Comments
 (0)