Skip to content

Lambda code is not properly recognized as project code in debugger #658

@iloveeclipse

Description

@iloveeclipse

Follow up on #583.

Try to debug org.eclipse.swt.tests.manual.Bug569752_DetectNonDisposedOsResources with SWT at eclipse-platform/eclipse.platform.swt#1702.

The stack looks like below:

Image

... and with the recent changes to the frame icons there is an unexpected behavior: the two highlighted frames should ideally have different icons, opposite to the current state.

This frame: 0x0000000800c87580.handleEvent(Event) line: not available is clearly synthetic one, so it shouldn't be shown as "project code", it has not even a line info.

The frame above Bug569752_DetectNonDisposedOsResources.lambda$0(Display, Button, Event) line: 47 is, in my understanding, is decorated as a library/non-project code - which is wrong because we clearly see that it matches the current line in our code in which debugger is stopped.

IMO the decoration of both frames should be changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions