Skip to content

Commit fef4add

Browse files
staticfloatKristofferC
authored andcommitted
[BugReporting] pass ARGS through properly (#39839)
When calling `make_interactive_report()`, we really need to pass in `ARGS` as well, otherwise it always starts an interactive session. This commit, in combination with `--` allows the user to run an `rr` session while still passing arguments to the child `julia` process via: ``` julia --bug-report=rr -- --project test/runtests.jl ``` (cherry picked from commit 5e7aaa6)
1 parent bf093a1 commit fef4add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/InteractiveUtils/src/InteractiveUtils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ function report_bug(kind)
404404
else
405405
BugReporting = Base.require(BugReportingId)
406406
end
407-
return Base.invokelatest(BugReporting.make_interactive_report, kind)
407+
return Base.invokelatest(BugReporting.make_interactive_report, kind, ARGS)
408408
end
409409

410410
end

0 commit comments

Comments
 (0)