Results 1 to 2 of 2

Thread: Debugging Problems

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member neef's Avatar
    Join Date
    Dec 2001
    Location
    Boston
    Posts
    311

    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
  •  



Click Here to Expand Forum to Full Width