Bug 31181 - Variable view not (always) updated when the debug view is hidden
Summary: Variable view not (always) updated when the debug view is hidden
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 30463 32019 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-06 18:21 EST by Luc Bourlier CLA
Modified: 2003-02-17 11:47 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Bourlier CLA 2003-02-06 18:21:46 EST
If the debug view is hidden, the variable view is not refreshed when a
breakpoint is hit.

That should be a consequence of the bug 27092.
Comment 1 Darin Wright CLA 2003-02-06 21:36:24 EST
Any steps to reproduce? It is, of course, working for me. This could also be 
related to bug 30971.
Comment 2 Luc Bourlier CLA 2003-02-07 10:38:51 EST
build 200302060800
linux-GTK

1. Create the following compilation unit:

public class BonjourLeMonde {
  public static void main(String[] args) {
    System.out.println("Hello, World !!"); // <---- breakpoint here
  }
}

2. Hide the debug view.
3. Launch the program as a java application.
The program stops to the breakpoint. In the editor, the line where the program
is stopped is selected, the stack frame indicator (blue arrow) is displayed in
the ruler.
The variables view stays empty.


I did some other tests, if the debug view is closed during a debug session, the
stack frame indicator is no more updated.
Comment 3 Darin Wright CLA 2003-02-07 10:46:17 EST
There are no variables to display - it is a static method with no locals (no 
this, no members).
Comment 4 Luc Bourlier CLA 2003-02-07 11:13:21 EST
There is something to display, if I un-hide the debug view, the stack frame
become selected and "args" is added to the variable view.
Comment 5 Darin Wright CLA 2003-02-07 11:15:21 EST
Oh yeah (args). This is likely a problem with selection change events not being 
fired from the debug view when it is not visible.
Comment 6 Darin Wright CLA 2003-02-07 15:57:58 EST
we need to fix this (as well as the other problems with step keys and source 
lookup not working while the debug view is hidden).
Comment 7 Darin Wright CLA 2003-02-11 16:37:47 EST
Fixed. We had "disabled" the debug view when it was hidden. We need to process 
all events the same whether hidden or not - the debug view event handling is 
complex and required for source update/variable updates/etc.

See changes in LaunchViewEventHandler.
Comment 8 Darin Wright CLA 2003-02-11 16:38:03 EST
Please verify, Jared.
Comment 9 Darin Wright CLA 2003-02-11 16:55:57 EST
*** Bug 30463 has been marked as a duplicate of this bug. ***
Comment 10 Jared Burns CLA 2003-02-12 11:56:31 EST
Verified.
Comment 11 Luc Bourlier CLA 2003-02-17 11:47:26 EST
*** Bug 32019 has been marked as a duplicate of this bug. ***