class: DebugView
authorClaus Gittinger <cg@exept.de>
Mon, 03 Jun 2013 13:29:13 +0200
changeset 12812 52bef38f9017
parent 12811 ffdf97bbca6e
child 12813 ffa04abd7c81
class: DebugView changed: #codeAccept:unwind:category:onCancel:
DebugView.st
--- a/DebugView.st	Mon Jun 03 12:52:06 2013 +0200
+++ b/DebugView.st	Mon Jun 03 13:29:13 2013 +0200
@@ -12,52 +12,52 @@
 "{ Package: 'stx:libtool' }"
 
 StandardSystemView subclass:#DebugView
-	instanceVariableNames:'busy haveControl exitAction canContinue contextView codeView
-		receiverInspector contextInspector contextArray selectedContext
-		catchBlock grabber mayProceed traceView tracing bigStep
-		skipLineNr steppedContextAddress abortButton terminateButton
-		continueButton stepButton nextButton nextOverButton nextOutButton
-		sendButton returnButton restartButton exclusive inspecting
-		nChainShown inspectedProcess updateProcess stopButton
-		updateButton defineButton monitorToggle stepping
-		steppedContextLineno stepForReturn actualContext inWrap
-		stackInspector steppedContext wrapperContext verboseBacktrace
-		firstContext stepHow cachable currentMethod ignoreBreakpoints
-		stepUntilEntering lastStepUntilEntering
-		lastSelectionInReceiverInspector lastSelectionInContextInspector
-		canShowMore exitAbort reportButton setOfHiddenCallingSelectors
-		isStoppedAtHaltOrBreakPoint exceptionInfoLabel methodCodeToggle
-		methodCodeToggleSelectionHolder
-		isStoppedAtBreakPointWithParameter breakPointParameter
-		hideSupportCode contextInfoLabel'
-	classVariableNames:'CachedDebugger CachedExclusive OpenDebuggers MoreDebuggingDetail
-		DebuggingDebugger DebuggingDebugger2
-		DefaultDebuggerBackgroundColor InitialNChainShown IgnoredHalts
-		ShowThreadID LastIgnoreHaltNTimes LastIgnoreHaltDuration
-		LastExtent LastOrigin RememberedCallChain DebuggingDebugger3'
-	poolDictionaries:''
-	category:'Interface-Debugger'
+        instanceVariableNames:'busy haveControl exitAction canContinue contextView codeView
+                receiverInspector contextInspector contextArray selectedContext
+                catchBlock grabber mayProceed traceView tracing bigStep
+                skipLineNr steppedContextAddress abortButton terminateButton
+                continueButton stepButton nextButton nextOverButton nextOutButton
+                sendButton returnButton restartButton exclusive inspecting
+                nChainShown inspectedProcess updateProcess stopButton
+                updateButton defineButton monitorToggle stepping
+                steppedContextLineno stepForReturn actualContext inWrap
+                stackInspector steppedContext wrapperContext verboseBacktrace
+                firstContext stepHow cachable currentMethod ignoreBreakpoints
+                stepUntilEntering lastStepUntilEntering
+                lastSelectionInReceiverInspector lastSelectionInContextInspector
+                canShowMore exitAbort reportButton setOfHiddenCallingSelectors
+                isStoppedAtHaltOrBreakPoint exceptionInfoLabel methodCodeToggle
+                methodCodeToggleSelectionHolder
+                isStoppedAtBreakPointWithParameter breakPointParameter
+                hideSupportCode contextInfoLabel'
+        classVariableNames:'CachedDebugger CachedExclusive OpenDebuggers MoreDebuggingDetail
+                DebuggingDebugger DebuggingDebugger2
+                DefaultDebuggerBackgroundColor InitialNChainShown IgnoredHalts
+                ShowThreadID LastIgnoreHaltNTimes LastIgnoreHaltDuration
+                LastExtent LastOrigin RememberedCallChain DebuggingDebugger3'
+        poolDictionaries:''
+        category:'Interface-Debugger'
 !
 
 Object subclass:#IgnoredHaltOrBreakpoint
-	instanceVariableNames:'ignoreEndTime ignoreCount ignoreUntilShiftKeyPressed'
-	classVariableNames:''
-	poolDictionaries:''
-	privateIn:DebugView
+        instanceVariableNames:'ignoreEndTime ignoreCount ignoreUntilShiftKeyPressed'
+        classVariableNames:''
+        poolDictionaries:''
+        privateIn:DebugView
 !
 
 DebugView::IgnoredHaltOrBreakpoint subclass:#IgnoredHalt
-	instanceVariableNames:'weakMethodHolder lineNumber'
-	classVariableNames:''
-	poolDictionaries:''
-	privateIn:DebugView
+        instanceVariableNames:'weakMethodHolder lineNumber'
+        classVariableNames:''
+        poolDictionaries:''
+        privateIn:DebugView
 !
 
 DebugView::IgnoredHaltOrBreakpoint subclass:#IgnoredBreakpoint
-	instanceVariableNames:'parameter'
-	classVariableNames:''
-	poolDictionaries:''
-	privateIn:DebugView
+        instanceVariableNames:'parameter'
+        classVariableNames:''
+        poolDictionaries:''
+        privateIn:DebugView
 !
 
 !DebugView class methodsFor:'documentation'!
@@ -7293,7 +7293,7 @@
     "walk up context chain and find highest context which is either the selected context,
      or - if its a block-context - whose home is the selected context"
 
-    |sel implementorClass method category|
+    |sel implementorClass receiverClass method category|
 
     codeView withWaitCursorDo:[
 "/        "
@@ -7334,9 +7334,9 @@
                 category := method category
             ]
         ] ifFalse:[
-            implementorClass := selectedContext receiver class.
-            implementorClass := implementorClass whichClassImplements:sel.
-
+            receiverClass := selectedContext receiver class.
+            implementorClass := receiverClass whichClassImplements:sel.
+            implementorClass := implementorClass ? receiverClass.
             implementorClass ~~ Object ifTrue:[
                 implementorClass := Dialog
                                         request:('Define ''%1'' in class:' bindWith:sel allBold)
@@ -8283,15 +8283,15 @@
 !DebugView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.585 2013-06-03 10:39:14 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.586 2013-06-03 11:29:13 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.585 2013-06-03 10:39:14 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.586 2013-06-03 11:29:13 cg Exp $'
 !
 
 version_SVN
-    ^ '$Id: DebugView.st,v 1.585 2013-06-03 10:39:14 cg Exp $'
+    ^ '$Id: DebugView.st,v 1.586 2013-06-03 11:29:13 cg Exp $'
 ! !