VDBInstructionListApplication.st
changeset 162 1c78b5a2747d
parent 154 26937faa5a97
child 164 364ebdd1d42c
--- a/VDBInstructionListApplication.st	Sat Jun 08 16:34:54 2019 +0100
+++ b/VDBInstructionListApplication.st	Sat Jun 08 16:36:18 2019 +0100
@@ -488,18 +488,23 @@
 !
 
 delayedUpdateContents
-    | frame |
+    | frame instructions |
 
     frame := self frame.
+    instructions := #().
     (frame notNil and:[ frame hasSymbol ]) ifTrue:[
-        self instructionList:frame disassemble.
-    ] ifFalse:[
-        self instructionList:#().
+        [ 
+            instructions := frame disassemble.
+            self hideMessage.
+        ] on: GDBError do:[:ex | 
+            self showMessage: (self resources string: (ex parameter propertyAt: #msg)).
+        ].
     ].
+    self instructionList: instructions.
     self updateButtonEnablements.
 
     "Created: / 01-10-2018 / 12:55:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 14-02-2019 / 16:09:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 08-06-2019 / 16:29:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 delayedUpdateInternalList