(delta = 5)
| 685 | |
| 686 | // List source code |
| 687 | function list(delta = 5) { |
| 688 | if (!selectedFrame) { |
| 689 | throw new ERR_DEBUGGER_ERROR('Requires execution to be paused'); |
| 690 | } |
| 691 | return selectedFrame.list(delta).then(null, (error) => { |
| 692 | print("You can't list source code right now"); |
| 693 | throw error; |
| 694 | }); |
| 695 | } |
| 696 | |
| 697 | function setContextLineNumber(delta = 2) { |
| 698 | if (!selectedFrame) { |
searching dependent graphs…