Fix in DebugView: update codeView's method when new code is accepted in debugger.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Thu, 24 Jul 2014 20:24:04 +0200
changeset 14676 cc90618aa4be
parent 14675 848c9f87073a
child 14677 54d63fb3ba53
Fix in DebugView: update codeView's method when new code is accepted in debugger.
DebugView.st
--- a/DebugView.st	Thu Jul 24 11:33:57 2014 +0200
+++ b/DebugView.st	Thu Jul 24 20:24:04 2014 +0200
@@ -8235,6 +8235,9 @@
         inspecting ifFalse:[
             (newMethod notNil and:[newMethod ~~ #Error]) ifTrue:[
                 codeView modified:false.
+                codeView isCodeView2 ifTrue:[ 
+                    codeView methodHolder value: newMethod.
+                ].
 
                 doUnwind ifTrue:[
                     "/ if it worked, and doUnwind is true,
@@ -8259,7 +8262,7 @@
 
     "Created: / 17-11-2001 / 21:50:55 / cg"
     "Modified: / 29-08-2006 / 14:22:22 / cg"
-    "Modified: / 08-05-2014 / 14:39:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 24-07-2014 / 19:20:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 codeAccept:someCode unwind:doUnwind category:givenCategoryOrNil onCancel:cancelAction
@@ -9358,15 +9361,15 @@
 !DebugView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.662 2014-07-17 13:28:06 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.663 2014-07-24 18:24:04 vrany Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.662 2014-07-17 13:28:06 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.663 2014-07-24 18:24:04 vrany Exp $'
 !
 
 version_SVN
-    ^ '$Id: DebugView.st,v 1.662 2014-07-17 13:28:06 cg Exp $'
+    ^ '$Id: DebugView.st,v 1.663 2014-07-24 18:24:04 vrany Exp $'
 ! !