v8/test/inspector/debugger/script-on-after-compile-snapshot-expected.txt
Jakob Gruber ba081a32d2 [inspector] Add test for getPossibleBreakpoints on embedded code
This tests calling Debugger.getPossibleBreakpoints on a user function
embedded into the startup snapshot.

Currently, this fails because inspector does not know how to handle
scripts without an associated context. The test should be updated
once we have a fix.

Bug: v8:9029
Change-Id: Id2391a2df203fa7f119f39ea1c34da6a7c54206f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1581643
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61063}
2019-04-29 07:47:56 +00:00

29 lines
619 B
Plaintext

Embedding script 'function f() { return 42; }'
Tests that getPossibleBreakpoints works on a snapshotted function
scriptParsed
{
scriptSource : function f() { return 42; }
}
{
endColumn : 27
endLine : 0
executionContextId : <executionContextId>
hasSourceURL : false
hash : 05296308743b1ae80b7cf865a54ed2d12b19b77f
isLiveEdit : false
isModule : false
length : 27
scriptId : <scriptId>
sourceMapURL :
startColumn : 0
startLine : 0
url : <embedded>
}
{
error : {
code : -32000
message : Cannot retrive script context
}
id : <messageId>
}