Problems with Delphi String (doesn't show in Debugger or Console output)

Hi,
when using string from Delphi namespace in a property, the property doesn’t show up in the debugger or as console output.

namespace Unbenannt;

interface

type

PropClass = public class
public
class property P_Bool:boolean read true;
class property P_String:string read ‘String’;
end;

Program = assembly static class
public
class method Main(args:array of System.String):Int32;
end;

implementation

uses
RemObjects.Elements.RTL.Delphi;

class method Program.Main(args:array of System.String):Int32;
var pc:PropClass;
begin
pc:=new PropClass;
Console.WriteLine(pc.P_String);
end;

end.

It seems that there is no Typecode for this property (“None”) in Rtti.

Futher more: if the property “P_Bool” is removed, the local var “pc” doesn’t show at all…

Is this for Island/Dephi? what platform, Windows?

Yes, Island/Windows

Yes, but are you ising Island/Delphi, or the long deprectaed RemObjects.Elements.RTL.Delphi library, which is ee in yor uses clause? If so, what versiojn of the Delppi VCL arfe you using?

Yes, its the DelphiRTL compiled from the git repository (latest version).

(It seems sometimes DelphiRTL and DelpiVCL is/was installed with the installer, and sometimes not).

The string property is visible in the console, sorry that was my mistake…

What was it?

This line:

Console.WriteLine(pc.P_String);