implement exit event

This commit is contained in:
lightovernight 2025-08-09 14:30:37 +08:00
parent bf8abcce89
commit 0c3b0e0f05
2 changed files with 0 additions and 5 deletions

View File

@ -285,7 +285,6 @@ void c11_dap_send_fatal_event(const char* message) {
c11_dap_send_event("pkpy/fatalError", body);
}
>>>>>>> 429f2e78 (simplify the workdir process)
void c11_dap_send_initialized_event() { c11_dap_send_event("initialized", "{}"); }
int c11_dap_read_content_length(const char* buffer, int* header_length) {

View File

@ -89,13 +89,9 @@ int main(int argc, char** argv) {
}
}
} else {
<<<<<<< HEAD
if(profile) py_profiler_begin();
if(debug) py_debugger_waitforattach("127.0.0.1", 6110);
=======
wait_for_debugger("127.0.0.1", 3939);
>>>>>>> 429f2e78 (simplify the workdir process)
char* source = read_file(filename);
if(source) {
if(!py_exec(source, filename, EXEC_MODE, NULL))