Skip to content

Commit a9cdb29

Browse files
committed
Modify set up description for python in help file
1 parent f302876 commit a9cdb29

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

doc/Vdebug.txt

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,16 @@ the "pydbgp" tool, created by ActiveState (who make the Komodo Edit/IDE
240240
software).
241241

242242
To do this, go to http://code.activestate.com/komodo/remotedebugging/,
243-
download the Python client for your OS and extract it. Inside this package is
244-
a binary file called pydbgp that we can include when running a script, which
245-
will allow for remote debugging.
243+
download the Python client for your OS and extract it.
246244

247-
If we want to debug a script called "myscript.py", run the following: >
245+
Inside this package is a binary file called pydbgp that we can include when
246+
running a script, which will allow for remote debugging. If you're using
247+
version 8 or greater, then you will need to move the dbgp directory, which is
248+
inside pythonlib, to the same directory that contains the pydbgp executable.
249+
If you don't do this then you will get an error saying "No module named
250+
dbgp.client".
251+
252+
To debug a script called "myscript.py", run the following: >
248253
python -S path/to/pydbgp -d localhost:9000 myscript.py
249254
<
250255
adding in the path to the pydbgp binary file. Running it without starting
@@ -254,10 +259,12 @@ this, you're ready to go.
254259
NOTE: You may have a problem when trying to do an "eval". If you get an error
255260
mentioning something about not providing a length then you need to patch the
256261
client.py file in the Python remote debugger source code. I've created a patch
257-
that you can get at https://gist.github.com/3348076 - if using unix you can use
258-
the patch command to apply it, e.g: >
262+
that you can get at https://gist.github.com/3348076. It will only apply cleanly
263+
if it's for the same version as the package you downloaded.
264+
265+
If using unix you can use the `patch` command to apply the changes, e.g: >
259266

260-
patch dbgp/client.py < client.patch
267+
patch dbgp/client.py < client-7.1.0.patch
261268
<
262269
If you're still having trouble, drop me an email.
263270

0 commit comments

Comments
 (0)