Skip to content
This repository
Browse code

Updated help to include Tcl set up

  • Loading branch information...
commit 6dd4fa961f3f174e86feb8e03dc2d35201339eab 1 parent d39ff68
Jonathan Cairns authored

Showing 1 changed file with 30 additions and 1 deletion. Show diff stats Hide diff stats

  1. +30 1 doc/Vdebug.txt
31 doc/Vdebug.txt
@@ -29,6 +29,7 @@ CONTENTS *Vdebug-contents*
29 29 3.3 Ruby set up..............................|VdebugSetUpRuby|
30 30 3.4 Perl set up..............................|VdebugSetUpPerl|
31 31 3.5 NodeJS set up............................|VdebugSetUpNodejs|
  32 + 3.6 TCL/Wish set up..........................|VdebugSetUpTcl|
32 33 4. Usage.........................................|VdebugUsage|
33 34 4.1 Starting the debugger....................|VdebugStart|
34 35 4.2 Finding your way around the UI...........|VdebugUI|
@@ -352,6 +353,32 @@ You can then begin a debug session by starting Vdebug and running: >
352 353 Where the 'h' option specifies the address that Vdebug is listening on, and 'p'
353 354 is the port.
354 355
  356 +------------------------------------------------------------------------------
  357 +3.6 TCL/Wish set up *VdebugSetUpTcl*
  358 +
  359 +Like Python and Ruby, Tcl and Wish have an standalone debugging tool that you
  360 +can use from the command line, which has again been made avilable by
  361 +ActiveState.
  362 +
  363 +Go to http://code.activestate.com/komodo/remotedebugging/, download the Tcl
  364 +client for your OS and extract it. Inside this package is a binary file called
  365 +dbgp_tcldebug that we will use instead of the tcl/wish binary. It accepts the
  366 +script as an option, along with the vdebug server address and port.
  367 +
  368 +If we want to debug a Tcl script called "myscript.tcl", start Vdebug listening
  369 +and run the following: >
  370 + path/to/dbgp_tcldebug -dbgp localhost:9000 -app-file myscript.tcl \
  371 + -app-shell /usr/bin/tcl
  372 +<
  373 +To debug a wish script called "mywishscript.tcl", run the following: >
  374 + path/to/dbgp_tcldebug -dbgp localhost:9000 -app-file mywishscript.tcl \
  375 + -app-shell /usr/bin/wish
  376 +<
  377 +Note that the only difference is the app shell argument.
  378 +
  379 +There is a known error with using "tix", however, as it appears that Activestate's
  380 +debugger engine doesn't support it.
  381 +
355 382 ==============================================================================
356 383 4. Usage *VdebugUsage*
357 384
@@ -1034,7 +1061,9 @@ it to this list.
1034 1061
1035 1062 Q. I keep getting error <x> when doing <y>.
1036 1063 A. Send the details of the error to me at the email address at the top of
1037   - this section, or raise an issue on the Github page.
  1064 + this section, or raise an issue on the Github page. Please supply the
  1065 + version of Vdebug, your Vim version and your OS to make it as easy as
  1066 + possible to diagnose!
1038 1067
1039 1068 Q. Can you implement feature <x>?
1040 1069 A. Maybe - raise an issue on the Github page (top of this section) and I'll

0 comments on commit 6dd4fa9

Please sign in to comment.
Something went wrong with that request. Please try again.