mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
implement exit event
This commit is contained in:
parent
bf8abcce89
commit
0c3b0e0f05
@ -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) {
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user