Skip to content

Commit

Permalink
Set ENABLE_GDBLISTENER when running under rr. (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Jan 11, 2024
1 parent b2fc83a commit c2b73fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ if config.rr == RREnabled

# this code is essentially what --bug-report from InteractiveUtils does
println(io, "using BugReporting")
println(io, "ENV[\"ENABLE_GDBLISTENER\"] = \"1\"")
println(io, "println(\"Switching execution to under rr\")")
println(io, "BugReporting.make_interactive_report(\"rr-local\", ARGS)")
println(io, "exit(0)")
Expand Down

0 comments on commit c2b73fd

Please sign in to comment.