Cannot place breakpoints inside of named loops

Oxygene 9.0.95.1233 VS2015 Community Update 3

  • Create new .NET Console app

  • Replace the code in Program.pas by this:

      namespace ConsoleApplication14;
    
      interface
    
      uses
        System.Linq;
    
      type
        Program = class
        public
          class method Main(args: array of String): Int32;
        end;
    
      implementation
    
      class method Program.Main(args: array of String): Int32;
      begin
          var dropDetectionLoopCounter := 0;
          dropDetectionLoop: loop
          begin   
            if dropDetectionLoopCounter > 10 then
            begin
              writeLn('test');
            end;
          end;
      end;
    

    end.

  • Compile

  • Try to place a breakpoint on line 23 'writeLn(‘test’);

–> VS tells me ‘This is not a valid location for a breakpoint’

The same issue also existed in Oxygene 8.3

Thanks, logged as bugs://76815

bugs://76815 got closed with status fixed.

Logged as bugs://i64621.

bugs://i64621 was closed as fixed.