mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 18:22:45 +08:00
Launch debug shell on TRAP signal.
darcs-hash:20070423211026-ac50b-fccf4fb588775fbacc5cdc9f121abe417970066f.gz
This commit is contained in:
parent
2c02b59703
commit
e2714b05eb
|
@ -86,6 +86,10 @@ for i in (printf "%s\n" $path_list|sgrep -E -v $path_regexp)
|
|||
end
|
||||
end
|
||||
|
||||
# Launch debugger on SIGTRAP
|
||||
function fish_sigtrap_handler --on-signal TRAP --no-scope-shadowing --description "Signal handler for the TRAP signal. Lanches a debug prompt."
|
||||
breakpoint
|
||||
end
|
||||
|
||||
if status --is-interactive
|
||||
. config_interactive.fish
|
||||
|
|
Loading…
Reference in New Issue
Block a user