Bug #9876 2007-01-05 20:49

grundee

Debug traces through wrong file.

I have a file called main.cpp in a project.

I also have another file called main.cpp which belongs to a different project stored in a subdirectory of the main project directory.

I once had both of these projects open at the same time and I attempted to debug the second project (in the subdirectory). I set a breakpoint at the first line of main in the SECOND PROJECT'S main.cpp. However it opened the FIRST PROJECT'S main.cpp file by itself, and began tracing through that. This is clearly the wrong behavior.

I have now closed the first project, only the one in the subdirectory is open, however it STILL uses that one.

This may be because I added the top directory (holding the first main.cpp) to the directory list as I require header files held there.

This bug is reproducible in the latest nightly build.

Category
Application::WrongBehaviour
Group
 
Status
Closed
Close date
2007-07-03 08:52
Assigned to
 
grundee 2007-01-05 21:21

This happens on Windows XP, by the way.

killerbot 2007-01-06 22:05

could you post your little test projects (here or in the forum please) ?

mandrav 2007-07-03 08:52

This bug has been already fixed in HEAD.

Thank you.