Break Points arena't working....

Break Points arena't working....

b_ralphs
Advocate Advocate
6,992 Views
2 Replies
Message 1 of 3

Break Points arena't working....

b_ralphs
Advocate
Advocate

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

0 Likes
Accepted solutions (2)
6,993 Views
2 Replies
Replies (2)
Message 2 of 3

Joe.Ye
Alumni
Alumni
Accepted 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,



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 3 of 3

b_ralphs
Advocate
Advocate
Accepted solution

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. 🙂

0 Likes