I've had good experiences using pdb to debug TurboGears apps.

Where ever you want a breakpoint (eg: in a controller method) just add the line:
  import pdb; pdb.set_trace()

and restart your app.  When the breakbpoint is hit the app will drop to a pdb prompt where you can explore away.


Cheers
CM

On 10 Nov 2006, at 01:11, mario henrique wrote:


On 11/9/06, Jorge Vargas <[EMAIL PROTECTED]> wrote:

On 11/9/06, mario henrique <[EMAIL PROTECTED]> wrote:
> Hello, guys.
>
> There is any way to debug all turbogears framework? What debugger should I
> use?
you shouldn't need too, "errors" in the templates are catch at runtime.

But  I'm  trying  to  see the internals  of  turbogears, and this is simpler to accomplish using a debugger tool. I don't have any problems with templates tough :)




--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to