mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-04 10:09:58 +03:00
Fix conditional breakpoints being parsed as regular breakpoints (#278)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
@@ -298,7 +298,10 @@ export class GodotDebugSession extends LoggingDebugSession {
|
||||
});
|
||||
client_lines.forEach((l) => {
|
||||
if (bp_lines.indexOf(l) === -1) {
|
||||
this.debug_data.set_breakpoint(path, l);
|
||||
let bp = args.breakpoints.find((bp_at_line) => (bp_at_line.line == l));
|
||||
if (!bp.condition) {
|
||||
this.debug_data.set_breakpoint(path, l);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user