*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
737bff3ee5
commit
004b7cd877
11 changed files with 243 additions and 47 deletions
21
SWIG/Tools/WAD/Test/debug.tcl
Normal file
21
SWIG/Tools/WAD/Test/debug.tcl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# WAD debugging module for Tcl. This should be executed with wish
|
||||
|
||||
load ./debug.so
|
||||
|
||||
button .b1 -text "Segmentation fault" -command "seg_crash"
|
||||
button .b2 -text "Bus error" -command "bus_crash"
|
||||
button .b3 -text "Abort" -command "abort_crash -1"
|
||||
button .b4 -text "Math" -command "math_crash 3 0"
|
||||
button .b5 -text "Blow Heap" -command "blowheap_crash"
|
||||
button .b6 -text "Buffer overflow" -command "overflow_crash"
|
||||
button .q -text "Quit" -command "exit"
|
||||
|
||||
pack .b1 -fill x
|
||||
pack .b2 -fill x
|
||||
pack .b3 -fill x
|
||||
pack .b4 -fill x
|
||||
pack .b5 -fill x
|
||||
pack .b6 -fill x
|
||||
pack .q -fill x
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue