We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
print <expr>
1 parent 4da420d commit f7e2a83Copy full SHA for f7e2a83
python/pythonmonkey/lib/pmdb.py
@@ -85,6 +85,10 @@ def enable(debuggerGlobalObject = pm.eval("debuggerGlobal")):
85
case "exec":
86
case "print": {
87
// Execute an expression in debugging script's context and print its value
88
+ if (!rest) {
89
+ print(`"print <expr>" command requires an argument.`)
90
+ continue blockingLoop;
91
+ }
92
const result = frame.eval(rest)
93
if (result.throw) printErr(result.throw) // on error
94
else print(result.return) // on success
0 commit comments