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

Bug 357257

Summary: Need better display of built-in exceptions and libraries in Java debug (Simple Solution)
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Project Inbox <edt.debug-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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