Bug 218219 - Cannot add Absolute Path Mapping into Source Lokup Path as independant entry
Summary: Cannot add Absolute Path Mapping into Source Lokup Path as independant entry
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 4.0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0.3   Edit
Assignee: Ken Ryall CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-02-07 12:22 EST by Elena Laskavaia CLA
Modified: 2008-09-18 17:46 EDT (History)
2 users (show)

See Also:


Attachments
4.0 patch (6.96 KB, patch)
2008-02-07 12:22 EST, Elena Laskavaia CLA
no flags Details | Diff
4.0 patch (6.32 KB, patch)
2008-02-07 12:32 EST, Elena Laskavaia CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elena Laskavaia CLA 2008-02-07 12:22:01 EST
Created attachment 89162 [details]
4.0 patch

As mentioned in pr 204738, Default source lookup path adds whole project,
which would send to debugger huge "directory lookup list". It is undesired behavior because launch takes almost extra minute for some particular case I have (1000+ directories).

If we can just add Absolute Path as independent entry it works perfectly for debugger.

I am attaching a patch that fixes it:
- When user click Add Absolute File Path entry appears in the list
- Second attempt to add it would not result in duplicate entries
Comment 1 Elena Laskavaia CLA 2008-02-07 12:32:22 EST
Created attachment 89166 [details]
4.0 patch

forgot to include the important file
Comment 2 Ken Ryall CLA 2008-02-12 14:52:14 EST
Applied patch to HEAD and cdt_4_0.