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 :)

on the other hand you can use the logger or simple print statements to
see the parts.

using a @expose without params will show the dict in cp, if you need
to go into TG internals the logger is your friend.(set it to debug and
you will see a much more verbose output.)

 

> I've tried with pydev debuger (eclipse plugin) but the debugger halt at
> import turbogears.

remember one thing TG is the server debuggers are meant to run
programs, in order to actually simulate a client you will need to open
a browser. there have been some attempts at this they are functional
it's just we haven't decided which one to use, so you could create a
"Browser" object for your test based development.

Yes,  I  want to debug the server  program. I  think that your idea of creating some "Browser" object is very interesting.


>
> thanks a lot
>
>  []s
> mario h.c.t.
>
>  >
>

Thanks again. But my  question still is here.
 
mario h.c.t.

--~--~---------~--~----~------------~-------~--~----~
 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