#UI_ENHANCEMENT by cg
sclass: Tools::BreakpointService
changed: #flyByHelpTextAtLine:
don't give a helptext, if breakpoint cannot be set.
--- a/Tools__BreakpointService.st Fri Mar 17 13:25:25 2017 +0100
+++ b/Tools__BreakpointService.st Sun Mar 19 01:16:57 2017 +0100
@@ -414,6 +414,12 @@
flyByHelpTextAtLine:ignoredLineNr
|topView|
+ codeView method isNil ifTrue:[
+ ^ nil
+ ].
+ currentMethod isNil ifTrue:[
+ ^ nil
+ ].
(self canCreateOrToggleBreakpointAtLine:nil) ifFalse:[
((topView := codeView topView) notNil and:[topView isDebugView]) ifTrue:[
self hasBreakpoints ifFalse:[
@@ -427,6 +433,7 @@
^ 'Double Click to toggle breakpoint. Shift-Double-Click to toggle tracepoint.'
"Created: / 27-01-2012 / 14:04:52 / cg"
+ "Modified: / 19-03-2017 / 01:15:48 / cg"
! !
!BreakpointService methodsFor:'initialization'!