Bug 211586 - Do not show source editor on "symbol is not available"
Summary: Do not show source editor on "symbol is not available"
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 4.0.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-30 07:34 EST by Christopher Friedt CLA
Modified: 2020-09-04 15:18 EDT (History)
0 users

See Also:


Attachments
Partial screenshot of ' No source available for "" ' in editor (30.21 KB, image/jpeg)
2007-11-30 07:34 EST, Christopher Friedt CLA
no flags Details
Partial screenshot of ' symbol is not available ' in Debug view (35.69 KB, image/jpeg)
2007-11-30 07:35 EST, Christopher Friedt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Friedt CLA 2007-11-30 07:34:25 EST
Created attachment 84159 [details]
Partial screenshot of ' No source available for "" ' in editor

During debugging gdb / eclipse will obviously have pointers to system libraries where the source code is not available inside of eclipse or on a system folder. For example, glibc. 

When stepping through execution (i.e. step in / out ) the source code editor is automatically opened for each symbol encountered, even if that symbol does not have any available source code. 

For the sake of usability and streamlining the debugging process for C/C++ applications, I suggest that when eclipse encounters a symbol that does not have attached, that eclipse should not attempt to open the source associated with the symbol and redundantly display the message 

    No source available for ""

Moreover, it's actually pointless to display several redundant messages saying 

    <stack-frame #> <symbol is not available> 0x<some 32-bit address>

in the 'Debug' view, and that should also be eliminated.

If not removed entirely, it would be convenient to at least have a preference in the CDT debugging options to turn off these redundancies.
Comment 1 Christopher Friedt CLA 2007-11-30 07:35:22 EST
Created attachment 84160 [details]
Partial screenshot of ' symbol is not available ' in Debug view