mirror of
https://github.com/pocketpy/pocketpy
synced 2026-05-06 18:23:38 +00:00
Compare commits
2 Commits
8424d29fb2
...
432e1b4ae3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
432e1b4ae3 | ||
|
|
b99d18a9f6 |
@ -115,6 +115,7 @@ void c11_dap_handle_setBreakpoints(py_Ref arguments, c11_sbuf* buffer) {
|
|||||||
const char* sourcename = c11_strdup(py_tostr(py_retval()));
|
const char* sourcename = c11_strdup(py_tostr(py_retval()));
|
||||||
if(!py_smarteval("[bp['line'] for bp in _0['breakpoints']]", NULL, arguments)) {
|
if(!py_smarteval("[bp['line'] for bp in _0['breakpoints']]", NULL, arguments)) {
|
||||||
py_printexc();
|
py_printexc();
|
||||||
|
PK_FREE((void*)sourcename);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int bp_numbers = c11_debugger_reset_breakpoints_by_source(sourcename);
|
int bp_numbers = c11_debugger_reset_breakpoints_by_source(sourcename);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user