Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328565 - Slow starting debug session when application have too much debug symbols
Summary: Slow starting debug session when application have too much debug symbols
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-25 02:44 EDT by Dimitar Peikov CLA
Modified: 2020-09-04 15:26 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitar Peikov CLA 2010-10-25 02:44:22 EDT
Build Identifier:  20100917-0705

If the debugging application have plenty of symbols, the time for launching is annoyng. For example with 20k symbols (produced by generated code) you may wait about a minute, and when starting gdb from console prompt is immediate. Is it possible to have symbol loading running in background ?

Reproducible: Always

Steps to Reproduce:
1. generate a project with 20k symbols (classes, functions, enumerations, variables, ...)
2. compile and start debugging
3.
Comment 1 Axel Mueller CLA 2011-03-01 07:19:49 EST
(In reply to comment #0)
> Build Identifier:  20100917-0705
> 
> If the debugging application have plenty of symbols, the time for launching is
> annoyng. For example with 20k symbols (produced by generated code) you may wait
> about a minute, and when starting gdb from console prompt is immediate. Is it
> possible to have symbol loading running in background ?
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. generate a project with 20k symbols (classes, functions, enumerations,
> variables, ...)
> 2. compile and start debugging
> 3.
I guess gdb needs so much time to start because of all the source folders Eclipse passes to gdb.
Try the following:
- open your debug launch configuration
- select the source tab
- remove the "Default" source lookup path
- Add Absolute File Path