Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 79140 Details for
Bug 204564
Debug events raised from breakpoint ctor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
creating the right watch expression
patch.txt (text/plain), 1.49 KB, created by
Johan Compagner
on 2007-09-25 11:39:56 EDT
(
hide
)
Description:
creating the right watch expression
Filename:
MIME Type:
Creator:
Johan Compagner
Created:
2007-09-25 11:39:56 EDT
Size:
1.49 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.dltk.javascript.debug.ui >Index: src/org/eclipse/dltk/javascript/internal/debug/ui/JavaScriptToggleBreakpointAdapter.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.dltk/javascript/plugins/org.eclipse.dltk.javascript.debug.ui/src/org/eclipse/dltk/javascript/internal/debug/ui/JavaScriptToggleBreakpointAdapter.java,v >retrieving revision 1.2 >diff -u -r1.2 JavaScriptToggleBreakpointAdapter.java >--- src/org/eclipse/dltk/javascript/internal/debug/ui/JavaScriptToggleBreakpointAdapter.java 24 Jul 2007 08:08:58 -0000 1.2 >+++ src/org/eclipse/dltk/javascript/internal/debug/ui/JavaScriptToggleBreakpointAdapter.java 25 Sep 2007 15:32:03 -0000 >@@ -168,14 +168,18 @@ > .getLength()); > > int index = string.indexOf('='); >- string = string.substring(0, index); >- index = string.lastIndexOf('.') + 1; >+ if (index != -1) >+ { >+ string = string.substring(0, index); >+ } >+ index = string.lastIndexOf('.'); > if (index != -1) { >- string = string.substring(index); >+ string = string.substring(index + 1); > } >- index = string.lastIndexOf(' ' + 1); >+ string = string.trim(); >+ index = string.lastIndexOf(' '); > if (index != -1) { >- string = string.substring(index).trim(); >+ string = string.substring(index + 1).trim(); > } > > BreakpointUtils.addWatchPoint(textEditor, lineNumber,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
alex.panchenko
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 204564
: 79140 |
79141