Message 1 of 16
Visual studio 2015 and .NET 4.6.1 debugging problem

Not applicable
10-20-2016
11:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So im trying to debug with Visual studio 2015 and .NET 4.6.1.
When i set a conditional break point . For example element.Name.Contains("foo"); i get the following error when the code hits the line:
--------------------------- Microsoft Visual Studio --------------------------- The condition for a breakpoint failed to execute. The condition was 'e.Id.IntegerValue != 397718'. The error returned was 'The metadata for 'RevitAPI' is invalid. If you are debugging a minidump, you may be able to fix this problem by collecting a new minidump with heap and evaluating the expression again.'. Click OK to stop at this breakpoint. --------------------------- OK ---------------------------
I used the checkbox "Enable native code debugging" in the Visual studio debug settings for the project. Any help would be appriciated.