GDBInstruction.st
changeset 245 ebd35e88da73
parent 233 24c8231406e0
child 259 651864c2aa29
--- a/GDBInstruction.st	Mon Mar 29 12:53:41 2021 +0100
+++ b/GDBInstruction.st	Thu Oct 28 16:07:14 2021 +0100
@@ -96,10 +96,11 @@
 
 breakpoints
     "Return a list of breakpoints a this instructions' address"
-
-     ^ debugger breakpoints select: [:bkpt | bkpt addr = address ]
+    debugger isNil ifTrue: [ ^ #() ].
+    ^ debugger breakpoints select: [:bkpt | bkpt addr = address ]
 
     "Created: / 28-05-2021 / 21:40:56 / Jan Vrany <jan.vrany@labware.com>"
+    "Modified (format): / 28-10-2021 / 15:06:12 / Jan Vrany <jan.vrany@labware.com>"
 !
 
 func