Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

test-break-when-eval fails to evaluate expression #367

Open
MSLaguana opened this issue Aug 15, 2017 · 1 comment
Open

test-break-when-eval fails to evaluate expression #367

MSLaguana opened this issue Aug 15, 2017 · 1 comment
Assignees

Comments

@MSLaguana
Copy link
Contributor

  • Version: master
  • Platform: all
  • Subsystem: inspector

The test-break-when-eval test is failing with a timeout because the test attempts to evaluate an expression while the JS engine is not stopped:

[sent] {"method":"Runtime.evaluate","params":{"expression":"sum()","objectGroup":"console","includeCommandLineAPI":true,"silent":false,"contextId":1,"returnByValue":false,"generatePreview":true,"userGesture":true,"awaitPromise":false},"id":6}
[{"scriptId":"42","lineNumber":9,"columnNumber":2}]}}
[received] {"error":{"code":-32000,"message":"Failed to evaluate expression"},"id":6}
@kfarnung
Copy link
Contributor

This is a known limitation of our implementation, the issue is that the evaluate expression is being issued while there is no script executing. We'll need to investigate workarounds which may include some changes in ChakraCore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants