Silent Exceptions in Dictionary<t,u> Island

I got a Problem with silent Exceptions in Debug Island Apps on Windows and Mac. Water and Fire.
The Problem for me is that Eunit Tests will fail because of these Exceptions.

Code to show the problem:

namespace testDict;
type
  Program = class
  public
   
    class method DictError;
    begin
      var lDic := new Dictionary<Integer,String>();
      var lParam := 'Param:';
      var lAttr  := 1;
      lDic[lAttr] := lParam;  // Add Breakpoint here
      writeLn($"Set in Dictionary {lDic[lAttr]}");
    end;
   
    
    class method Main(args: array of String): Int32;
    begin
      // add your own code here
      writeLn('The magic happens here.');
      DictError();
    end;

  end;

end.

Steps to show the problem:

  • Set a Breakpoint in method DictError on the line lDic[lAttr] := lParam;
  • Run
  • Step over
  • An Exception will be raised:

ms_t36_gt24__RemObjects_d_Elements_d_RTL_d_Dictionary_t_2i32s9_set__Itemp7_$mappedg_t2c_RemObjects_d_Elements_d_RTL_d_Dictionary_t_22_t1_T_t1_Unt1_Tng_t16__1sGenericNullable_t_11_t1_U

Here EUnit Tests will fail…