Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340790 - Breakpoint detail pane created twice
Summary: Breakpoint detail pane created twice
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.3 M5   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 396795
  Show dependency tree
 
Reported: 2011-03-23 13:51 EDT by Dani Megert CLA
Modified: 2013-01-08 11:21 EST (History)
3 users (show)

See Also:


Attachments
Fix (4.54 KB, patch)
2012-12-13 15:19 EST, Curtis Windatt CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2011-03-23 13:51:01 EDT
I20110322-0800 but probably also in 3.6.

1. have a class with a breakpoint
2. open Breakpoints view
3. click on the breakpoint
==> LineBreakpointDetailPane is created, then destroyed and then created again.
Comment 1 Dani Megert CLA 2011-03-23 13:51:24 EDT
The bug is probably in the framework (Platform Debug).
Comment 2 Michael Rennie CLA 2012-09-10 17:14:33 EDT
bug 301118 added support for a separator in the details area that when selections are made in a VariablesView changes its colour etc. and one code path for this support ends up recreating the entire detail pane, see VariablesView line 1175.

The separator support also causes the background colour to change when you make selections in the breakpoints view.
Comment 3 Curtis Windatt CLA 2012-12-13 15:19:49 EST
Created attachment 224689 [details]
Fix

Rather than disposing the separator and forcing the entire view to layout/recreate, this patch makes the separator invisible.