b5c727768e
Bug: chromium:1406169 Bug: chromium:1404643 Change-Id: I03fa130e64cd84f1559c123ca77eb740e424cc70 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4152475 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Jaroslav Sevcik <jarin@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/main@{#85195}
125 lines
1.7 KiB
Plaintext
125 lines
1.7 KiB
Plaintext
Checks that debugger agent uses source content to restore breakpoints.
|
|
|
|
Running test: testSameSource
|
|
function foo() {
|
|
#boo();
|
|
}
|
|
function foo() {
|
|
#boo();
|
|
}
|
|
|
|
Running test: testSameSourceDuplicateLines
|
|
function foo() {
|
|
boo();
|
|
// something
|
|
#boo();
|
|
}
|
|
function foo() {
|
|
boo();
|
|
// something
|
|
#boo();
|
|
}
|
|
|
|
Running test: testSameSourceDuplicateLinesLongLineBetween
|
|
function foo() {
|
|
boo();
|
|
/////////////////////////////////////////////////////////////////////////////...
|
|
#boo();
|
|
}
|
|
function foo() {
|
|
boo();
|
|
/////////////////////////////////////////////////////////////////////////////...
|
|
#boo();
|
|
}
|
|
|
|
Running test: testSameSourceLongCommentBefore
|
|
/////////////////////////////////////////////////////////////////////////////...
|
|
function foo() {
|
|
bad();
|
|
#boo();
|
|
}
|
|
/////////////////////////////////////////////////////////////////////////////...
|
|
function foo() {
|
|
bad();
|
|
#boo();
|
|
}
|
|
|
|
Running test: testSameSourceDuplicateLinesDifferentPrefix
|
|
function foo() {
|
|
boo();
|
|
// something
|
|
#boo();
|
|
}
|
|
function foo() {
|
|
#boo();
|
|
// somethinX
|
|
boo();
|
|
}
|
|
|
|
Running test: testOneLineOffset
|
|
function foo() {
|
|
#boo();
|
|
}
|
|
function foo() {
|
|
#boo();
|
|
boo();
|
|
}
|
|
|
|
Running test: testTwoSimilarLinesCloseToOriginalLocation1
|
|
function foo() {
|
|
|
|
|
|
#boo();
|
|
}
|
|
function foo() {
|
|
#boo();
|
|
|
|
newCode();
|
|
boo();
|
|
|
|
|
|
|
|
boo();
|
|
}
|
|
|
|
Running test: testTwoSimilarLinesCloseToOriginalLocation2
|
|
function foo() {
|
|
|
|
|
|
#boo();
|
|
}
|
|
function foo() {
|
|
boo();
|
|
newLongCode();
|
|
newCode();
|
|
#boo();
|
|
|
|
|
|
|
|
boo();
|
|
}
|
|
|
|
Running test: testHintIgnoreWhiteSpaces
|
|
function foo() {
|
|
|
|
|
|
|
|
#boo();
|
|
}
|
|
function foo() {
|
|
foo();
|
|
|
|
|
|
#boo();
|
|
}
|
|
|
|
Running test: testCheckOnlyLimitedOffsets
|
|
function foo() {
|
|
#boo();
|
|
}
|
|
function foo() {
|
|
#newCode();
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
|
|
boo();
|
|
}
|