Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have a PointMonitor callback that I want to debug into.
Whenever the breakpoint in the callback method is hit (Editor_PointMonitor) Visual Studio breaks but does not go to source - instead it give me a message saying "Code Not Running - The current thread is not currentlly running or the call stack could not be obtained."
currentDoc.Editor.PointMonitor += Editor_PointMonitor; private void Editor_PointMonitor(object sender, PointMonitorEventArgs e) {
//breakpoint here int i = 1; i++; //some stuff }
If I remove the breakpoint from the callback I can debug the rest of the application. I'm usng VS 2013 but I've tried it with VS 2010 and it's the same.
Did anyone else have this issue? How did you solve it to actually do the callback debug?
Thank you.
Solved! Go to Solution.