Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function breakpoints #2832

Closed
3 tasks done
isidorn opened this issue Feb 9, 2016 · 0 comments
Closed
3 tasks done

Function breakpoints #2832

isidorn opened this issue Feb 9, 2016 · 0 comments
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Feb 9, 2016

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;
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Projects
None yet
Development

No branches or pull requests

2 participants