Skip to content

[JS] Debugger doesn't stop at breakpoint when set #7797

@Chris2011

Description

@Chris2011

Apache NetBeans version

Apache NetBeans 23

What happened

Based on this discussion here: #7785 when I debug a JS file where a breakpoint was set, the debugger starts but never hit the breakpoint and the breakpoint looks broken and unresolved.

Language / Project Type / NetBeans Component

No response

How to reproduce

  • Have a little JS function with a console.log inside and call the function at the end of the file
  • Set a breakpoint inside this function where the console.log is located
  • Right click on the js file in the project tab (NodeJS needs to be enabled in project settings, otherwise there is another debugger starting)
  • Debugger started, runs the script and stopped but never hit the breakpoint, breakpoint seems broken/unresoved

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 10, 64bit

JDK

17.0.10

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

Node 18.16.1

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugBug report or fixneeds:triageRequires attention from one of the committers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions