Debugging of inline functions


(Mario Noack) #1

I create a new oxygene project, console application. I add a new class:

  interface

type
    TestClass = public class(System.Object)
    private
    protected
    public
        procedure Test(value: Int32);
    end;

implementation


procedure TestClass.Test(value: Int32);

    procedure InternalTest();
    begin
        writeLn(value + "b");
    end;

begin
    writeLn(value + "a");
    InternalTest();
end;

create and start it. I set a breakpoint to both WriteLines. For “a” I see the content of value. For “b” I can’t see “value”. We use this feature in old version (8?) very often.

As workaround we look into the self-variable in the locals. But to watch a variable directly is easier.

Mario


(Mario Noack) #2

Hello Support,

I get no response to my request. Is this still under review? Debugging is very difficult with this new restriction.

Mario


(Carlo Kok) #3

My apologies, I missed your message. I’ll log an issue for this.


(RemObjects) #4

Thanks, logged as bugs://81483


(RemObjects) #5

bugs://81483 got closed with status fixed.