|
681 | 681 | (abort))) |
682 | 682 |
|
683 | 683 | (defundebugger-type () |
684 | | - (cond#+(or clasp sbcl) |
685 | | - (#+clasp (core:debugger-disabled-p) |
686 | | -#+sbcl (eqsb-ext:*invoke-debugger-hook*'sb-debug::debugger-disabled-hook) |
| 684 | + (cond#+clasp |
| 685 | + ((core:debugger-disabled-p):none) |
| 686 | +#+sbcl |
| 687 | + ((eqsb-ext:*invoke-debugger-hook*'sb-debug::debugger-disabled-hook) |
687 | 688 | :none) |
688 | | -#+(or clasp sbcl) |
689 | | - (#+claspext:*invoke-debugger-hook* |
690 | | -#+sbclsb-ext:*invoke-debugger-hook* |
691 | | -:external) |
692 | | - (t |
693 | | -:interal))) |
694 | | - |
695 | | -(defunbuiltin-debugger-p () |
696 | | - (and*builtin-debugger* |
697 | | -#+clasp (not (core:debugger-disabled-p)) |
698 | | -#+sbcl (not (eqsb-ext:*invoke-debugger-hook*'sb-debug::debugger-disabled-hook)))) |
699 | | - |
700 | | -(defunexternal-debugger-p () |
701 | | - (and#+sbclsb-ext:*invoke-debugger-hook* |
702 | | -#+cclccl:*break-hook* |
703 | | -#+eclext:*invoke-debugger-hook* |
704 | | -#+claspext:*invoke-debugger-hook* |
705 | | -#+abclsys::*invoke-debugger-hook* |
706 | | -#+clispsys::*break-driver* |
707 | | -#+allegroexcl::*break-hook* |
708 | | -#+lispworksdbg::*debugger-wrapper-list* |
709 | | -#+mezzanomezzano.debug:*global-debugger* |
710 | | -#-(or sbcl ccl ecl clasp abcl clisp allegro lispworks mezzano) |
711 | | -nil |
712 | | -t)) |
| 689 | +#+abcl |
| 690 | + (sys::*invoke-debugger-hook*:external) |
| 691 | +#+allegro |
| 692 | + (excl::*break-hook*:external) |
| 693 | +#+ccl |
| 694 | + (ccl:*break-hook*:external) |
| 695 | +#+clisp |
| 696 | + (sys::*break-driver*:external) |
| 697 | +#+clasp |
| 698 | + (ext:*invoke-debugger-hook*:external) |
| 699 | +#+ecl |
| 700 | + (ext:*invoke-debugger-hook*:external) |
| 701 | +#+lispworks |
| 702 | + (dbg::*debugger-wrapper-list*:external) |
| 703 | +#+mezzano |
| 704 | + (mezzano.debug:*global-debugger*:external) |
| 705 | +#+sbcl |
| 706 | + (sb-ext:*invoke-debugger-hook*:external) |
| 707 | + (t:internal))) |
713 | 708 |
|
714 | 709 | (defmacrowith-debugger ((&key control internal)&body body) |
715 | 710 | (let ((debugger-hook (if control |
|