I have two projects in my workspace say ProjectA and ProjectB. Only project names are different but both projects contain almost the same files. When i add breakpoints on a class in ProjectA say at line 152, the control instead of stopping at line 152 of the class in ProjectA, automatically is opening the class of ProjectB and stopping at line 152. I am unable to figure out why it is automatically opening the class of ProjectB and stopping at line 152.

有帮助吗?

解决方案

Have a look at Run -> Debug Configurations... -> Source. There you define the sources where to look for the source code when debugging a class. Maybe you have a reference to ProjectB there?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top