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

Mohamed.Elmasri
Contributor
Contributor

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

Mohamed.Elmasri
Contributor
Contributor

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 !

 

0 Likes
Reply
3,868 Views
4 Replies
Replies (4)

naveen.kumar.t
Autodesk Support
Autodesk Support

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

0 Likes

Mohamed.Elmasri
Contributor
Contributor

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

 

 

0 Likes

naveen.kumar.t
Autodesk Support
Autodesk Support

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

0 Likes

Kennan.Chen
Advocate
Advocate

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

0 Likes