Bug 264876 - Endless ping pong between console and variables
Summary: Endless ping pong between console and variables
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 5.0.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 12:54 EST by Karsten Steingaß CLA
Modified: 2020-09-04 15:22 EDT (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 Karsten Steingaß CLA 2009-02-13 12:54:03 EST
Hi,

if one has the console and the variables in debug perspective in the same view field (isn't that the name for the thing with the tabs?) and tries to view a variable with memory adress 0 or something else that is not viewable (e.g. the allocator of a STL container) the focus goes to the console and the error is printed if one is clicking on the variables tab again the focus jumps back to the console.

Steps to reproduce:
1. In the debug perspective add the console tab to the same view as the variables view.
2. Start debugging and step to a line where a pointer is NULL (or where a STL string is in scope)
3. Click in the variables view on the STL string (or NULL Ptr) and click yourself through to the allocator part.
4. After console got the focus reclick on the variables tab.

Expected result:
Treeview of the variable is closed or it is not clickable at all or error is print only once or any other good solution.

Real result:
Console prints an error and gets focus back from variables endlessly...
Comment 1 Anton Leherbauer CLA 2009-02-16 03:42:57 EST
Note that the console has options which control whether it should bring itself into the foreground upon input from stdout or stderr.
The options are available on the Console view tool bar and in the preferences.