Missing beforeExecuting event and line shift property during eval in debugger api
See original GitHub issueHello,
I try to use the debugger protocol to get the inline sourcemap from an dynamically invoked script eval
.
I tried scriptParsed
event, but it seems to not wait for the end of the callback to start executing.
During eval
, we need to get the inline sourcemap to set breakpoints according to the authored source file before let chrome execute the script.
The other problem I found is that chrome adds (function(){
at the beginning of the script which shifts by 1,2 or more lines depending on the parameters length (and maybe column shift too). Without such a property, it is difficult to map from authored source, generated source and chrome generated source with line shift.
Could you help to solve those problems ?
Thank you in advance for your help.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (1 by maintainers)
Top GitHub Comments
This repository is related to Chrome DevTools Protocol, but does not track issues regarding its definition or implementation. If you want to file an issue for the Chrome DevTools Protocol, please open an issue on https://crbug.com under
component: Platform>DevTools>Platform
. Thanks in advance!Any more info ? It seems I’m the only one to want such a feature to be implemented.