|
|
=Debugging the shell extension=
|
|
|
==Windows==
|
|
|
#Enable Debugging in the configuration dialog of tortoisehg
|
|
|
#Enable Debugging (below)
|
|
|
#start a new explorer or restart the explorer:
|
|
|
** new explorer: {{{explorer /separate}}} (no path!)
|
|
|
** kill all explorer in the task manager (desktop disapears) and execute explorer (in a dos window or on the start entry of the task manager) or
|
... | ... | @@ -8,6 +8,30 @@ |
|
|
|
|
|
See also http://msdn.microsoft.com/en-us/library/cc144064(VS.85).aspx for some info bits about Running and Testing Shell Extensions on Windows
|
|
|
|
|
|
== Enabling Debug Output on Windows ==
|
|
|
Debug output for the shell extension is now disabled by default (see ddce4294c9ef, which is in 0.9).
|
|
|
|
|
|
It needs to be enabled in the registry by setting:
|
|
|
|
|
|
[HKEY_CURRENT_USER\Software\TortoiseHg]
|
|
|
"DebugShellExt"="1"
|
|
|
|
|
|
There is a file
|
|
|
|
|
|
win32/shellext/DebugShellExt.reg
|
|
|
|
|
|
in the sources which does this. Just double click it to load it into
|
|
|
the registry or start regedit and do 'Import...' from the file menu.
|
|
|
|
|
|
Information about developing and testing the shell extension can be
|
|
|
found in the document
|
|
|
|
|
|
win32/shellext/README.txt
|
|
|
|
|
|
in the sources.
|
|
|
|
|
|
README.txt has a section "Testing" which mentions this.
|
|
|
|
|
|
==Nautilus==
|
|
|
set the environment variable DEBUG_THG for nautulus:
|
|
|
* testing in separate process: {{{DEBUG_THG=Ne TMPDIR=/tmp/anydir/ --no-desktop nautilus [path]}}}
|
... | ... | |