Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333353

Summary: Can't click on an XML stack trace in console
Product: [Eclipse Project] JDT Reporter: David Becker <david>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: david, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description David Becker CLA 2010-12-30 16:00:20 EST
Build Identifier: 20100917-0705

I have code which sometimes outputs xml stack traces to the console (serialized using XStream).  The console highlights the class name and line number like it normally would for a stack trace, but when you click on it you get a message that "<trace>com.example.Test" was not found.  It appears to be parsing the classname backwards to the first whitespace when it really should be parsing backwards to the first character which isn't legal in a java identifier.  A normal strack trace print works because it would say "as com.example.Test.test(Test.java:92)".

  <stackTrace>
    <trace>com.example.Test.test(Test.java:92)</trace>
    <trace>com.example.Test.test(Test.java:69)</trace>
...snipped...
  </stackTrace>


Reproducible: Always

Steps to Reproduce:
See details.