Displaying 1 result from an estimated 1 matches for "r_traceback".
Did you mean:
do_traceback
2024 Jun 30
0
Making use of win32_segv
...intf() may go into a GUI
window, the crash handler may be written in a more cautious manner:
- Only set up the crash handler in Rterm, because this is mostly for
the benefit of the people reading the R CMD check output
- Compare GetCurrentThreadId() against a saved value and don't call
R_Traceback() if it doesn't match
- Rewrite win32_segv in terms of StringCcbPrintf to static storage and
WriteFile(GetStdHandle(STD_ERROR_HANDLE), ...), which may be too much
Attached is a crude first draft to see if the approach is viable. If it
turns out to be a good idea, I can add the Rterm or thr...