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

Bug 322910

Summary: Display name adornments should always be computed in JavaScriptModelPresentation
Product: [WebTools] JSDT Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact: Simon Kaegi <simon_kaegi>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.2   
Target Milestone: 3.3 M2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
fix none

Description Michael Rennie CLA 2010-08-17 11:21:18 EDT
Created attachment 176798 [details]
fix

code from HEAD

Adornments for display names for our debug elements (thread, stackframe, etc) are computed all over the place, and should all be computed in the model presentation - that way they are not computed if the element is not going to be shown.

Also the name computation for a debug target should not happen in its constructor, as this requires a request of the VM would could fail, causing the constructor to blow up.
Comment 1 Michael Rennie CLA 2010-08-17 11:22:17 EDT
applied to HEAD