Community
Participate
Working Groups
I have two different projects(proj1 and proj2) in the work space with same file name(eg. foo.c). The contents of the file foo.c is different in the projects. I have the proj1/foo.c open and a break point is set in it. When I close the proj1/foo.c and open the proj2/foo.c and debug the proj2, it is stopping at the line no. at which proj1/foo.c has a breakpoint. And in the same way break point set in the proj2/foo.c applies to the proj1/foo.c
Breakpoints are set using absolute path so this should not happen. I cannot reproduce the problem. Are you using the CDI debugger or the DSF one?
(In reply to comment #1) > Breakpoints are set using absolute path so this should not happen. > > I cannot reproduce the problem. > > Are you using the CDI debugger or the DSF one? I am using the DSF Debugger. I am still facing the problem. If I set a break point in one project it is being reflected in the other project which has same file name, when I run the project the breakpoint is hit, but breakpoint is not visible in UI. I did not close one project and opened the other one . Both the projects are there in the workspace.
Hi there, Just a guess: Check in Debug-Configurations, which is the application to debug. I remember, that I had a same problem while debugging or run a java-application. The solution was to enter the correct application in ru-configuration or debug-configuration. Best regards, Robert