Skip to content

Commit 71d1c21

Browse files
Update lldb/test/API/tools/lldb-dap/gotoTargets/TestDAP_gotoTargets.py
Co-authored-by: Adrian Vogelsgesang <[email protected]>
1 parent f0f4907 commit 71d1c21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/test/API/tools/lldb-dap/gotoTargets/TestDAP_gotoTargets.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ def test_default(self):
7171
self.dap_server.request_next(thread_id)
7272
self.continue_to_next_stop()
7373

74+
# Verify that `var_1=10` and `var_2=40`. This combination is only possible by
75+
# skipping execution of a line from the original program. Observing this combination
76+
# hence proves that our `goto` request actually skipped execution of the code line.
7477
var1_variable = self.dap_server.get_local_variable("var_1")
7578
var_1_expected = {
7679
"name": "var_1",

0 commit comments

Comments
 (0)