DebugView.st
changeset 8745 8ce9f5d5bd52
parent 8656 6c92a022f929
child 8952 7742c63ff6f5
equal deleted inserted replaced
8744:2ad1b8a365db 8745:8ce9f5d5bd52
  5751 
  5751 
  5752             eMsg := ex description.
  5752             eMsg := ex description.
  5753             (ex signal isControlInterrupt) ifTrue:[
  5753             (ex signal isControlInterrupt) ifTrue:[
  5754                 eMsg := eMsg , Character cr asString , 'in ' , ex suspendedContext printString
  5754                 eMsg := eMsg , Character cr asString , 'in ' , ex suspendedContext printString
  5755             ].
  5755             ].
  5756 
  5756             Dialog aboutToOpenBoxNotificationSignal 
  5757             answer := Dialog 
  5757                 handle:[:ex | ex proceed ]
       
  5758                 do:[
       
  5759                     answer := Dialog 
  5758                         choose:('Error in debugger:\' withCRs , eMsg , '\\debug again ?' withCRs) 
  5760                         choose:('Error in debugger:\' withCRs , eMsg , '\\debug again ?' withCRs) 
  5759                         labels:#( 'Proceed' 'Cancel' 'Debug' ) 
  5761                         labels:#( 'Proceed' 'Cancel' 'Debug' ) 
  5760                         values:#( #proceed #cancel #debug ) 
  5762                         values:#( #proceed #cancel #debug ) 
  5761                         default:#cancel.
  5763                         default:#cancel.
       
  5764                 ].
  5762             answer == #debug ifTrue:[
  5765             answer == #debug ifTrue:[
  5763                 'DebugView [info]: cought exception - debugging' infoPrintCR.
  5766                 'DebugView [info]: cought exception - debugging' infoPrintCR.
  5764                 Debugger 
  5767                 Debugger 
  5765                     enterUnconditional:(ex suspendedContext) 
  5768                     enterUnconditional:(ex suspendedContext) 
  5766                     withMessage:'Error in debugger: ' , eMsg
  5769                     withMessage:'Error in debugger: ' , eMsg
  6673 ! !
  6676 ! !
  6674 
  6677 
  6675 !DebugView class methodsFor:'documentation'!
  6678 !DebugView class methodsFor:'documentation'!
  6676 
  6679 
  6677 version
  6680 version
  6678     ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.469 2009-06-20 08:47:16 cg Exp $'
  6681     ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.470 2009-09-21 20:48:23 cg Exp $'
  6679 ! !
  6682 ! !
  6680 
  6683 
  6681 DebugView initialize!
  6684 DebugView initialize!