Bug 177052 - Choosing the correct file when debugging
Summary: Choosing the correct file when debugging
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux-GTK
: 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-03-12 15:18 EDT by Mareq CLA
Modified: 2020-09-04 15:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mareq CLA 2007-03-12 15:18:08 EDT
Build ID: Eclipse I20070222-0951, CDT 4.0.0.200703080601

Steps To Reproduce:
Structure of my project is described here bug#176708.

1. Project PTT contains directory module/PTTBase with CPP files, but they are marked as excluded from build.
2. Project PTTBase is imported existing project from PTT/modules/PTTBase, so it contains the same CPP files, but they are NOT excluded from build.
3. When I am debugging project PTTBase and the debug process is stopped on breakpoint, Eclipse asks me, if to open the CPP file from PTTBase, ot PTT/modules/PTTBase.

I think it could be better to directly open CPP file from PTTBase, not PTT/modules/PTTBase, because the second is excluded from build. It is always the same file.

Or to add some setting, if to directly open that file, or to ask which file to open.

I am not sure, what is the right solution.


What to do, when also CPP files from project PTT would be also included to build. I don't like to choose the correct files every time I debug them.

Thanks.

More information: