Actions
Feature #17479
closedEnable to get "--backtrace-limit" value by "$-B"
Feature #17479:
Enable to get "--backtrace-limit" value by "$-B"
Status:
Closed
Assignee:
-
Target version:
-
Description
Background¶
There is currently no way to get "--backtrace-limit" value when outputing backtraces from my script, so I have to ignore this value and output backtraces.
In order to be able to output according to "--backtrace-limit" value, I need a API to get this value from the Ruby side.
Proposal¶
I propose a readonly built-in variable "$-B" to get "--backtrace-limit" value.