Tests exceptions with Debugger.evaluateOnCallFrame.