| Summary: | Breakpoints totally hosed due to: Unable to create view ID org.eclipse.debug.ui.BreakpointView: Illegal/unsupported escape sequence near index 6Build\CheckPropertiesFiles | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Dave Jenkins <n1mxv> | ||||
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | darin.eclipse, Michael_Rennie, remy.suen | ||||
| Version: | 3.5.2 | Flags: | Michael_Rennie:
review+
|
||||
| Target Milestone: | 3.6 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Dave Jenkins
Problems with setting Java breakpoints goes to the Debug team. Looks like a method breakpoint is causing trouble. You might try to delete the .markers file from the associated projects directory in the ".metadata/.plugins/.org.eclipse.core.resources/.projects" directory of your workspace. (If you know what project(s) you have method breakpoints in). However, we should be catching the PatternSyntaxException to avoid this, and throwing a CoreException, which will be caught and handled by the framework. The framework should probably delete the markers for which breakpoints could not be re-created. (In reply to comment #2) > You might try to delete the .markers file from the associated projects > directory in the ".metadata/.plugins/.org.eclipse.core.resources/.projects" > directory of your workspace. Deleting the .markers file does seem to have restored my breakpoint capabilities!! Thanks!! Created attachment 166970 [details]
patch
Please review, Mike. Patch looks good. Applied to HEAD
To reproduce the exception:
1. create a method breakpoint
2. export it
3. edit the *.bkpt replacing a '.' with a '\'
4. try to import the *.bkpt file
happens:
Caused by: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 13
org\.eclipse\jdt\.internal\.debug\.core\.hcr\.JavaHotCodeReplaceManager
^
at java.util.regex.Pattern.error(Pattern.java:1730)
at java.util.regex.Pattern.escape(Pattern.java:2194)
at java.util.regex.Pattern.atom(Pattern.java:1969)
at java.util.regex.Pattern.sequence(Pattern.java:1902)
at java.util.regex.Pattern.expr(Pattern.java:1769)
at java.util.regex.Pattern.compile(Pattern.java:1477)
at java.util.regex.Pattern.<init>(Pattern.java:1150)
at java.util.regex.Pattern.compile(Pattern.java:840)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaMethodBreakpoint.setMarker(JavaMethodBreakpoint.java:557)
at org.eclipse.debug.internal.core.BreakpointManager.createBreakpoint(BreakpointManager.java:528)
at org.eclipse.debug.ui.actions.ImportBreakpointsOperation.restoreBreakpoint(ImportBreakpointsOperation.java:296)
at org.eclipse.debug.ui.actions.ImportBreakpointsOperation.run(ImportBreakpointsOperation.java:150)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
... 44 more
|