v8/test/inspector/regress
Benedikt Meurer ea3ee6da79 [inspector] Derive breakpoint hint based on resolved location.
When setting a breakpoint on a line (in the DevTools front-end), the
front-end sends a columnNumber of 0 and the inspector automatically
resolves the actual location (in bytecode execution order). In order
to also support changing source code, the inspector memorizes a text
hint, and uses that to adjust the location upon reload. This hint was
however taken based on the original line and column numbers, rather than
the resolved location, which causes trouble when syntactic order doesn't
match execution order, as in case of `await o.m()`.

In order to address that we now remember the textual hint based on the
resolved location.

Fixed: chromium:1081162
Also-By: kimanh@chromium.org
Change-Id: I7d08373440693b7abc18c29c1a05929d771d3031
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2905606
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74675}
2021-05-19 14:46:57 +00:00
..
regress-crbug-1080638-expected.txt Forward exceptions while using DebugPropertyIterator 2021-01-20 17:02:43 +00:00
regress-crbug-1080638.js Forward exceptions while using DebugPropertyIterator 2021-01-20 17:02:43 +00:00
regress-crbug-1081162-expected.txt [inspector] Derive breakpoint hint based on resolved location. 2021-05-19 14:46:57 +00:00
regress-crbug-1081162.js [inspector] Derive breakpoint hint based on resolved location. 2021-05-19 14:46:57 +00:00
regress-crbug-1147552-expected.txt
regress-crbug-1147552.js
regress-crbug-1183664-expected.txt [inspector] Properly filter by column number for inline scripts. 2021-03-11 08:52:25 +00:00
regress-crbug-1183664.js [inspector] Properly filter by column number for inline scripts. 2021-03-11 08:52:25 +00:00
regress-crbug-1195927-expected.txt [debug] Disallow LiveEdit of active frames. 2021-04-28 13:00:19 +00:00
regress-crbug-1195927.js [debug] Disallow LiveEdit of active frames. 2021-04-28 13:00:19 +00:00
regress-crbug-1197392-expected.txt [inspector] Validate samplingInterval in HeapProfiler.startSampling 2021-05-12 12:11:31 +00:00
regress-crbug-1197392.js [inspector] Validate samplingInterval in HeapProfiler.startSampling 2021-05-12 12:11:31 +00:00
regress-crbug-1199919-expected.txt [debugger] Don't attach source positions to implicit returns. 2021-04-30 12:33:29 +00:00
regress-crbug-1199919.js [debugger] Don't attach source positions to implicit returns. 2021-04-30 12:33:29 +00:00
regress-crbug-1207867-expected.txt [inspector] Side-effect free FunctionMirror descriptions. 2021-05-12 09:30:37 +00:00
regress-crbug-1207867.js [inspector] Side-effect free FunctionMirror descriptions. 2021-05-12 09:30:37 +00:00