Sign in to follow this  

[.net] "The following breakpoint cannot be set" - wtf?

Recommended Posts

I'm trying to debug a .NET GUI. When I put the breakpoint in a part of the code, it doesn't seem to be triggered when the code is executed. If I try to remove the breakpoint and re-add it while the ap has run the code once (works fine if it hasn't been run), I get the following message from Visual Studio: "The following breakpoint cannot be set: At Form1.h, line 1639 The Common Language Runtime was unable to set the breakpoint." All I can think is that the line of code being executed uses an unmanaged method (it's an XML utility that uses STL). Could that be the cause? If so, how can I resolve it, I need to break into the code every time so I can see what's going wrong with it. :(

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this