Williams, Stanley E kirjoitti:
>
> Joachim:
>
> 8. To debug a plugin, deploy it into your test environment via $ python
> setup.py develop -md /path/to/projenv/plugins and then start the run
> configuration from above.
This can be automated from Eclipse so no need to deploy manually:
Right click on plugin project, select "Builders", click "New" and select
"Program".
Set "location" to point your python.exe (or pythonw.exe) or just python
in case you're running in *nix like system.
Working directory is good to set to plugin root
And then arguments:
It would be something like:
${workspace_loc:/helloworldplugin/setup.py} develop --multi-version
--install-dir c:/tracenv/testproject/plugins
When you then select your project and from top menu select "Project ->
Build" you should see console output similiar of commandline.
Still I'm unable to debug Trac itself, plugins I can debug easily and
that's very cool option.
--
Jani Tiainen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---