Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | debugMenu can append |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | trunk |
Files: | files | file ages | folders |
SHA3-256: |
545940abe0dc2f2c66fe586c3c8508a8 |
User & Date: | peter 2024-10-02 19:05:45.959 |
Context
2024-10-02
| ||
19:05 | debugMenu can append Leaf check-in: 545940abe0 user: peter tags: trunk | |
18:50 | Moved debug to module check-in: 3d33ff0139 user: peter tags: trunk | |
Changes
Changes to eskil.vfs/lib/psdebug-1.0.tm.
︙ | ︙ | |||
79 80 81 82 83 84 85 | trace remove execution $cmd leavestep ::_PsDebug::TRleavestep } #----------------------------------------------------------------------------- # GUI #----------------------------------------------------------------------------- | | > > > > | | | > | | | | < < | | > > | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | trace remove execution $cmd leavestep ::_PsDebug::TRleavestep } #----------------------------------------------------------------------------- # GUI #----------------------------------------------------------------------------- proc ::_PsDebug::debugMenu {mW args} { if {"-append" in $args} { set dW $mW } else { set dW $mW.debug $mW add cascade -label "Debug" -menu $dW -underline 0 menu $dW } if {$::tcl_platform(platform) eq "windows"} { $dW add checkbutton -label "Console" -variable ::consoleState \ -onvalue show -offvalue hide -command {console $::consoleState} \ -underline 0 $dW add separator } $dW add command -label "Edit" -command ::_PsDebug::ProcEditor \ -underline 0 $dW add command -label "Windows" -command ::_PsDebug::WindowBrowser \ -underline 0 return $dW } #----------------------------------------------------------------------------- # Window structure browser #----------------------------------------------------------------------------- proc ::_PsDebug::WindowBrowser {} { set top .windowbrowser destroy $top tk::toplevel $top -padx 3 -pady 3 place [ttk::frame $top.tilebg] -border outside \ -x 0 -y 0 -relwidth 1 -relheight 1 wm title $top "Window Browser" wm protocol $top WM_DELETE_WINDOW [list ::_PsDebug::WindowBrowserClosed $top] ttk::panedwindow $top.pw -orient horizontal pack $top.pw -fill both -expand 1 # Widget Tree |
︙ | ︙ | |||
497 498 499 500 501 502 503 | set da [tcl::unsupported::disassemble proc $item] } else { set da [tcl::unsupported::disassemble method $parent $name] } set top .proceditor.disas destroy $top | | > > | 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 | set da [tcl::unsupported::disassemble proc $item] } else { set da [tcl::unsupported::disassemble method $parent $name] } set top .proceditor.disas destroy $top tk::toplevel $top -padx 3 -pady 3 place [ttk::frame $top.tilebg] -border outside \ -x 0 -y 0 -relwidth 1 -relheight 1 wm title $top "Proc Editor Disassemble" text $top.t -yscrollcommand "$top.sby set" ttk::scrollbar $top.sby -orient vertical -command "$top.t yview" grid $top.t $top.sby -padx 3 -pady 3 -sticky news |
︙ | ︙ | |||
569 570 571 572 573 574 575 | # Main Proc Editor window proc ::_PsDebug::ProcEditor {} { ::_PsDebug::CollectInfo set top .proceditor destroy $top | | > > | 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 | # Main Proc Editor window proc ::_PsDebug::ProcEditor {} { ::_PsDebug::CollectInfo set top .proceditor destroy $top tk::toplevel $top -padx 3 -pady 3 place [ttk::frame $top.tilebg] -border outside \ -x 0 -y 0 -relwidth 1 -relheight 1 wm title $top "Proc Editor" ttk::frame $top.ftree set ::_PsDebug::ProcEditor(filter) "" set ::_PsDebug::ProcEditor(filterx) "" ttk::entry $top.ftree.ef -textvariable ::_PsDebug::ProcEditor(filter) addBalloon $top.ftree.ef "Filter" |
︙ | ︙ |