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: 

Visual Studio "The Application is in break mode" when debugging Revit Addin

4 REPLIES 4
Reply
Message 1 of 5
Mohamed.Elmasri
3865 Views, 4 Replies

Visual Studio "The Application is in break mode" when debugging Revit Addin

Hi everyone,

Visual Studio shows "The Application is in break mode" when debugging Revit Addin

 

Annotation 2020-03-30 053503.png

 

The Revit Interface

 

Annotation 2020-03-30 053553.png

 

I used "Revit Addin Wizard 2019" .. Itested the project on another PC ,, It works well

but on my PC it shows the error above !

 

I cannot debug anything 😥

 

Thanks in advance !

 

4 REPLIES 4
Message 2 of 5

Hi @Mohamed.Elmasri ,

 

In Visual Studio,

Go to Debug-->Windows-->Exception Settings-->Managed Debugging assistants-->ContextSwitchDeadlock(Uncheck ContextSwitchDeadlock).

 

I hope this will help you to solve your issue.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 3 of 5

Thanks very very much for reply 

 

the message in the post .. disappear

 

but when I debug with breakpoint 

 

Annotation 2020-03-30 074149.png

 

and Revit still at that view

 

Annotation 2020-03-30 053553.png

 

 

Message 4 of 5

Hi @Mohamed.Elmasri ,

I think the problem is related to Visual studio and not related to Revit.

Simple google search gave me these below links

https://stackoverflow.com/questions/36445717/vs2015-the-breakpoint-will-not-currently-be-hit-no-symb... 

 

https://stackoverflow.com/questions/2155930/how-do-i-remedy-the-the-breakpoint-will-not-currently-be... 

 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 5 of 5

Can you post some of your code? I think there must be some bad code which causes the dead lock.

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

Post to forums  

Autodesk Design & Make Report