Annoying. I have looked through all settings for my DEBUG build. Use Debug DCU's et. al. In this project i oftentimes fail to inspect a variable:

Annoying. I have looked through all settings for my DEBUG build. Use Debug DCU's et. al. In this project i oftentimes fail to inspect a variable:

Function to be called, {System.Generics.Collections}TDictionary.GetItem, was eliminated by linker

But is optimizations are turned off, should i not be able to inspect?

TIA,

/D

Comments

  1. And then, in debug, you may get a message which reports of some error in a C++ module somewhere. You click OK, and the app is dead. And if memory serves, so is the IDE.

    ReplyDelete
  2. Ah, so... no "solution" except inserting these too-common "AddDebugMessage" or similar :(

    ReplyDelete
  3. It has nothing to do with generics but with {WEAKLINKRTTI ON} somewhere. Getters for a public property are not removed unless you explicitly tell the linker to do that.

    ReplyDelete

Post a Comment