mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
fix an fatal error
This commit is contained in:
parent
b6c030ac15
commit
8087009f7e
@ -507,8 +507,9 @@ void c11_dap_tracefunc(py_Frame* frame, enum py_TraceEvent event) {
|
||||
}
|
||||
c11_dap_handle_message();
|
||||
C11_STOP_REASON reason = c11_debugger_should_pause();
|
||||
if(reason != C11_DEBUGGER_NOSTOP) {
|
||||
if(reason == C11_DEBUGGER_NOSTOP) {
|
||||
py_sys_settrace(c11_dap_tracefunc, false);
|
||||
server.isattach = true;
|
||||
return;
|
||||
}
|
||||
c11_dap_send_stop_event(reason);
|
||||
|
Loading…
x
Reference in New Issue
Block a user