From dd2718abcd4339d06f087c3ca49ccede4d44a6a9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 17 Jul 2011 16:29:39 -0600 Subject: [PATCH] ... --- src/calibre/manual/develop.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/calibre/manual/develop.rst b/src/calibre/manual/develop.rst index dac6f02c78..32a023d339 100755 --- a/src/calibre/manual/develop.rst +++ b/src/calibre/manual/develop.rst @@ -211,9 +211,9 @@ calibre-dev.bat:: Debugging tips ---------------- -Running |app| code in a python debugger is not easy unless you install from source on Linux. However, Python is a +Python is a dynamically typed language with excellent facilities for introspection. Kovid wrote the core |app| code without once -using a debugger. There are two main strategies to debug |app| code: +using a debugger. There are many strategies to debug |app| code: Using an interactive python interpreter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -240,6 +240,12 @@ Similarly, you can start the ebook-viewer as:: calibre-debug -w /path/to/file/to/be/viewed +Using the debugger in PyDev +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +It is possible to get the debugger in PyDev working with the |app| development environment, +see the `forum thread `_. + Executing arbitrary scripts in the |app| python environment ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^