Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Debug multiple tcl files with packages
Debug multiple tcl files with packages [message #720157] Tue, 30 August 2011 02:03
GrOoVy is currently offline GrOoVyFriend
Messages: 1
Registered: August 2011
Junior Member

I'm trying to debug my tcl package. Suppose i have 1 file containing all the tcl scripts for my package. Then in another file, i have some code to test the package. I'm able to debug the test tcl file, but unable to debug the package tcl file (ie: no breakpoints are hit). Does anybody know how to debug multiple tcl files?

Here is a really simple example of my source tcl files:
# myutils.tcl
package provide ::myapp::utils 1.0

namespace eval ::myapp::utils {
  namespace export test

proc ::myapp::utils::test {value} {
  return $value

# mytest.tcl
package require ::myapp::utils 1.0

set x [::myapp::utils::test "A"]

puts $x

if {![package vsatisfies [package provide Tcl] 8.5]} {return}

package ifneeded ::myapp::utils 1.0 [list source [file join $dir myutils.tcl]
Previous Topic:[BUILD] M-M201108170548-201108170548
Next Topic:Search for case insensitive languages
Goto Forum:

Current Time: Wed Feb 28 04:14:25 GMT 2024

Powered by FUDForum. Page generated in 0.02666 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top