Unable to evaluate void^

Hi,

I have this cocoa console app

namespace LoadLibraryConsoleApplication;

uses
  Foundation, RemObjects.Elements.RTL;

type
  Program = class
  public

    class method Main(args: array of String): Int32;
    begin
      
      var handle := dlopen('/usr/local/share/dotnet/shared/Microsoft.NETCore.App/5.0.0-preview.2.20160.6/libdbgshim.dylib', RTLD_LAZY);
      var value := dlerror();        
      
      /*
      if (handle = IntPtr.Zero) then
      begin
      end;
      */
    end;
  end;
  

end.

I have a breakpoint on the end of the main method

In the image below is says “unable to evaluate expression” for handle, Should be like that ? _cmd just says nil. Does that mean handle has a value ?

Thanks, logged as bugs://84203

It just means the debugger (for whatever reasons, possibly a bug) cannot evaluate the expression to get its value. It doesn’t indicate whether the value is not or not (though that should be easy to check in code?)

bugs://84203 got closed with status fixed.