|
-
Dec 28th, 2011, 04:05 PM
#1
Thread Starter
Hyperactive Member
Debugging Problems
I have two debugging issues and I'm not sure what I did to make them occur:
1) I get an "Unable to set the next statement to this location" error when I try to set a new line.
2) Some of my objects don't return their member variable values. I get a "Cannot evaluate expression because we are stopped in a place where garbage collection is impossible, possibly because the code of the current method may be optimized" error when I hover over them or try to expand the object into tree mode.
These two problems must be related. I did a lot of searching about managed code and just-in time debugging but nothing I tried did the trick (even unmanaged code had these errors).
What the heck did I screw up to make this happen?
Thanx!
edit: After some more research it seems that #1 only occurs in one specific function (naturally, a very important and large one). This function is located in a module. Problem #2 occurs in all areas of my project.
Last edited by neef; Dec 28th, 2011 at 05:01 PM.
Intermediate Level Programmer Extraordinaire 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|