Skip to content

Commit

Permalink
commit rust dbg patches
Browse files Browse the repository at this point in the history
  • Loading branch information
sagudev committed Mar 1, 2024
1 parent 689fb69 commit 43fbee8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/wpt/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def run_tests(default_binary_path: str, **kwargs):
set_if_none(kwargs, "webdriver_binary", default_binary_path)

if kwargs.pop("rr_chaos"):
kwargs["debugger"] = "rr"
kwargs["debugger_args"] = "record --chaos"
kwargs["repeat_until_unexpected"] = True
kwargs["debugger"] = "rust-lldb"
# kwargs["debugger_args"] = "--batch -o run -o bt"
# kwargs["repeat_until_unexpected"] = True
# TODO: Delete rr traces from green test runs?

prefs = kwargs.pop("prefs")
Expand Down
1 change: 1 addition & 0 deletions third_party/mozdebug/mozdebug/mozdebug.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"cgdb": {"interactive": True, "args": ["-q", "--args"]},
"rust-gdb": {"interactive": True, "args": ["-q", "--args"]},
"lldb": {"interactive": True, "args": ["--"], "requiresEscapedArgs": True},
"rust-lldb": {"interactive": True, "args": ["--"], "requiresEscapedArgs": True},
# Visual Studio Debugger Support.
"devenv.exe": {"interactive": True, "args": ["-debugexe"]},
# Visual C++ Express Debugger Support.
Expand Down

0 comments on commit 43fbee8

Please sign in to comment.