Commit e93ff4f0 authored by Miroslav Bajtoš's avatar Miroslav Bajtoš Committed by Chris Dickinson
Browse files

debugger: fix unhandled error in setBreakpoint

Fix Interface.setBreakpoint() to correctly handle an attempt to set a
breakpoint in the current script when there is no current script.
This usually happens when the debugged process is not paused.

Fixes: https://github.com/joyent/node/issues/6453
PR-URL: https://github.com/joyent/node/pull/6460


Reviewed-By: default avatarChris Dickinson <christopher.s.dickinson@gmail.com>
parent 6f6a9795
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment