about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-08 10:28:26 +0000
committerbors <bors@rust-lang.org>2024-09-08 10:28:26 +0000
commit7b18b3eb6d45efe45ecbe0b6043a1a93cef4a166 (patch)
treedaa8cec8010bdf8d5a7c9957e05c8b0d4b2c1108 /compiler/rustc_const_eval/src/interpret/mod.rs
parent8f93a108016b7275fef82b34c106668937b581df (diff)
parentfc28a2a506f66c739e6c059eb044ed98a3f805c2 (diff)
downloadrust-7b18b3eb6d45efe45ecbe0b6043a1a93cef4a166.tar.gz
rust-7b18b3eb6d45efe45ecbe0b6043a1a93cef4a166.zip
Auto merge of #129019 - kromych:master, r=workingjubilee
Break into the debugger (if attached) on panics (Windows, Linux, macOS, FreeBSD)

The developer experience for panics is to provide the backtrace and
exit the program. When running under debugger, that might be improved
by breaking into the debugger once the code panics thus enabling
the developer to examine the program state at the exact time when
the code panicked.

Let the developer catch the panic in the debugger if it is attached.
If the debugger is not attached, nothing changes. Providing this feature
inside the standard library facilitates better debugging experience.

Validated under Windows, Linux, macOS 14.6, and FreeBSD 13.3..14.1.
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/mod.rs')
0 files changed, 0 insertions, 0 deletions