Skip to content

Commit 4a5e68c

Browse files
committed
Fix watchpoint issue on processing breakpoints
1 parent 87f530c commit 4a5e68c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frontend/components/GDBFrontend/js/GDBFrontend.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,6 +1771,10 @@
17711771

17721772
data.debug.breakpoints = [];
17731773
parameters.state.breakpoints.forEach(function (_gdb_bp, _gdb_bp_i) {
1774+
if (!_gdb_bp.location) {
1775+
return true;
1776+
}
1777+
17741778
var loc = _gdb_bp.location.match(/-source (.+?) -line (\d+)/i);
17751779

17761780
if (!loc) {

0 commit comments

Comments
 (0)