@@ -92,8 +92,9 @@ module DebuggerFramework
92
92
language_modes
93
93
standard_keymap
94
94
terminal
95
+ overall_result
95
96
end
96
- dummy_state (stack) = DebuggerState (stack, 1 , nothing , nothing , nothing , nothing , nothing )
97
+ dummy_state (stack) = DebuggerState (stack, 1 , nothing , nothing , nothing , nothing , nothing , nothing )
97
98
98
99
function print_status_synthtic (io, state, frame, lines_before, total_lines)
99
100
return 0
@@ -224,7 +225,7 @@ module DebuggerFramework
224
225
promptname (level, name) = " $level |$name > "
225
226
function RunDebugger (stack, repl = Base. active_repl, terminal = Base. active_repl. t)
226
227
227
- state = DebuggerState (stack, 1 , repl, nothing , Dict {Symbol, Any} (), nothing , terminal)
228
+ state = DebuggerState (stack, 1 , repl, nothing , Dict {Symbol, Any} (), nothing , terminal, nothing )
228
229
229
230
# Setup debug panel
230
231
panel = LineEdit. Prompt (promptname (state. level, " debug" );
@@ -295,6 +296,8 @@ module DebuggerFramework
295
296
296
297
print_status (Base. pipe_writer (terminal), state)
297
298
Base. REPL. run_interface (terminal, LineEdit. ModalInterface ([panel,search_prompt]))
299
+
300
+ state. overall_result
298
301
end
299
302
300
303
end # module
0 commit comments