ELENA-LANG / elena-lang

ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
https://elena-lang.github.io/
MIT License
227 stars 23 forks source link

IDE debugger: the debugger must hide trace line on wait #634

Closed arakov closed 3 months ago

arakov commented 4 months ago

To Reproduce In the following code:

import extensions;

B
{
    test(string command)
    {
        console.printLine(command);
    }
}

C;

public program()
{
    var a := nil;
    var b := new B();
    var c := new C();

    a?.test("Fired a?.test");
    b?.test("Fired b?.test");

    a\.test("Fired a\.test");
    b\.test("Fired b\.test");
    c\.test("Fired c\.test");

    console.readLine();
}

The debugger hangs when stepping over the following line:

b?.test("Fired b?.test");

Expected behavior The debugger must hide tracer and put the program forward

arakov commented 3 months ago

Fixed in ELENA 6.0.8