(c)
| 592 | down`; |
| 593 | |
| 594 | function printPop(c) { |
| 595 | if (c['return']) { |
| 596 | print('Value returned is:'); |
| 597 | showDebuggeeValue(c['return'], {brief: true}); |
| 598 | } else if (c['throw']) { |
| 599 | print('Frame terminated by exception:'); |
| 600 | showDebuggeeValue(c['throw']); |
| 601 | print("(To rethrow it, type 'throw'.)"); |
| 602 | lastExc = c['throw']; |
| 603 | } else { |
| 604 | print('No value returned.'); |
| 605 | } |
| 606 | } |
| 607 | |
| 608 | // Set |prop| on |obj| to |value|, but then restore its current value |
| 609 | // when we next enter the repl. |
no test coverage detected