.Net Debug Not Breaking and Duplicate File Issue

  • Thread starter Thread starter Garth
  • Start date Start date
G

Garth

Hi,
I've hit a very weird bug... I developed an application (App1) and had
it under source control (Rational Clear Case). I then created a new
application (App2). Now when I set a break in App2 the debugger does
not catch it. I then do a search for the line of code that I wish to
break at by searching through the entire solution (on App2) and .Net
returns the lines of code that I wish to break at in App1 AND in App2?
But I'm only doing search in App2.
I can't understand it. Has anyone else had a similar issue and if so
how did you resolve it.

Thanks
Garth
 
Hi Garth,

This is a little late and probably not much help but...

I had something similar happen about 3 times. The first time I ended up not
needing to debug so I didn't realize what was happening. The 2nd time I fixed
it fairly quickly by deleting the offending source code file and recreating
(copy, delete, create, paste). The 3rd time I think I had to recreate the
entire project, not recode, but remove and add back in the forms, classes and
modules.

I haven't researched the problem completely but I think it begins with
having multiple projects open at the same time. Even when you close
everything down and re-open just one project, debugging links still point to
the closed project. This gets very scary when you're coding away on the 2nd
project and not realizing it, thinking you're still in project 1. The
giveaway is that intellisense or auto-capitalization doesn't work.

-Mike
 
Back
Top