This crashes Visual Studio when debugging:
namespace ConsoleTest;
interface
uses
java.util;
type
ConsoleApp = class
public
class method Main(args: array of String);
end;
ByteBufferGeneric = java.nio.ByteBuffer;
implementation
class method ConsoleApp.Main(args: array of String);
var
myBBG: ByteBufferGeneric;
begin
myBBG := ByteBufferGeneric.allocate(100);
System.out.println('Hello World.');
end;
end.
Set your breakpoint on the System.out line, then point at myBBG, then click the little arrow thingy to open it up. Visual Studio goes down and restarts.
It would be nice if that didn’t happen.