Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Break Points arena't working....

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
b_ralphs
6877 Views, 2 Replies

Break Points arena't working....

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

2 REPLIES 2
Message 2 of 3
Joe.Ye
in reply to: b_ralphs

 

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
Message 3 of 3
b_ralphs
in reply to: Joe.Ye

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community