--- a/GDBDebugger.st Thu Nov 18 23:48:40 2021 +0000
+++ b/GDBDebugger.st Fri Dec 03 09:19:03 2021 +0000
@@ -1218,11 +1218,15 @@
andWithResultDo:[ :result | targetFeatures := result propertyAt: #features ].
].
- self selectedThread: aGDBStoppedEvent stoppedThread frame: aGDBStoppedEvent frame
+ "/ Carefull - not all stop events have frame, for example
+ "/ solib-events have not!!
+ aGDBStoppedEvent frame notNil ifTrue:[
+ self selectedThread: aGDBStoppedEvent stoppedThread frame: aGDBStoppedEvent frame
+ ].
"Created: / 07-09-2014 / 23:34:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 09-04-2018 / 15:42:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 09-03-2021 / 14:57:36 / Jan Vrany <jan.vrany@labware.com>"
+ "Modified: / 02-12-2021 / 13:55:30 / Jan Vrany <jan.vrany@labware.com>"
!
onTargetConnectedEvent: aGDBTargetConnectedEvent