I have other projects where & can debug Revit just fine. The break points work & I can step through my code. But on one project the code doesn’t stop at the break point, it just run through as if they're not there... Any idea why this could be? This solution has multiple project files in it for the different versions of Revit. I can change the StartUp project option & launch the different versions of Revit, but the break points don’t work for any version.
thx,
Barry
Solved! Go to Solution.
Solved by b_ralphs. Go to Solution.
Solved by Joe.Ye. Go to Solution.
Hi Barry,
First Please make sure that the dll loaded to Revit has the same path as the dll generated by your VS project.
If the path are different, then Visual Studio never stops at the breakpoint.
Hope this helps,
OMG, how stupid am I. I forgot my .addin files where pointing to my stable version on the network, while I was try to debug my development version. Thanks for pointing out my stupidity. 🙂