Skip to content

Function breakpoints #2832

@isidorn

Description

@isidorn

We now support function breakpoints on global functions for node debugging. Verify:

  • you can add, remove, update a function breakpoints
  • program breaks on a function for the function breakpoint you added

Please note that we only support global functions that have been seen by node and are defined. This is different than line oriented breakpoints which work even if they are not defined when the program starts.
So you probably have to use the "Reapply Breakpoints" action after you have started the target.

Global functions are "setTimeout" etc. and this:

// global function
foo = function(n) {
    return n;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    debugDebug viewlet, configurations, breakpoints, adapter issuestestplan-item

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions