Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357257 - Need better display of built-in exceptions and libraries in Java debug (Simple Solution)
Summary: Need better display of built-in exceptions and libraries in Java debug (Simpl...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 12:01 EDT by Justin Spadea CLA
Modified: 2017-02-23 14:19 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Spadea CLA 2011-09-09 12:01:53 EDT
The exceptions and libraries in the Java runtime are implemented in EGL and generated, but there is no SMAP data. The problem is that the SMAP builder doesn't exist during the nightly build so we can't transform the class files to contain this data.

For now the quickest thing to do is write variable adapters for each generated runtime class. Since some things are still changing (e.g. yesterday we changed one of the exception types) we should put this off until iteration 15.

For 1.0 we will update the build process to transform the class files and remove the variable adapters.
Comment 1 Justin Spadea CLA 2011-09-27 13:35:38 EDT
Added .eglsmap files in the org.eclipse.edt.runtime.java plug-in, and support for reading these off disk in org.eclipse.edt.debug.core. I also made the debug support check for SMAPVariableInfos of super types of variables so that we can display inherited fields as well as the fields declared in the variable's class.
Comment 2 Justin Spadea CLA 2011-10-31 15:48:40 EDT
Verified