Debugging add in VS not working

Debugging add in VS not working

gert-leonvanlier
Collaborator Collaborator
737 Views
2 Replies
Message 1 of 3

Debugging add in VS not working

gert-leonvanlier
Collaborator
Collaborator

I don't know what I did, but I can not use breakpoint in Visual Studio anymore. When I start debuggin my add in in VS, the breakpoints turn from red to black and they give the message "The breakpoint will not currently be hit. No symbols have been loaded for this document."

 

I don't know what could have been changed. Last week it was working fine. Does someone have any idea?

0 Likes
Accepted solutions (1)
738 Views
2 Replies
Replies (2)
Message 2 of 3

YuhanZhang
Autodesk
Autodesk

Have you got this solved? Usually you should make sure in your VS you set to generate the PDB file, and copy the PDB file to be along with the binary file so that when you debug it the breakpoint can be hit.

 

If you still have problem when you copy the PDB and DLL files together please provide more info/steps about how to compile and deploy your addin.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 3 of 3

gert-leonvanlier
Collaborator
Collaborator
Accepted solution

I got it solved, but I don't really know what I did to get it working again. It eventually turned out that it was only in my VS project. Probably had something to do with an update of a Nuget package. After reverting to an older version of the project, everything was working again.

0 Likes