Re: [web2py] Re: Debugging in web2py

2012-02-04 Thread ramkrishan bhatt
I am using eclipse and wing IDE , Debugging is working with web2py. 

Re: [web2py] Re: Debugging in web2py

2012-02-03 Thread Mariano Reingart
Also, look at this new integrated online debugger for web2py:

http://reingart.blogspot.com/2012/02/new-web2py-online-python-debugger.html

I've finished it recently, so let me know if you try it and have any issue.

if you are using apache (prefork, and to a lesser extent mpm worker) you
would have to adapt the configuration or use modwsgi in daemon mode:

http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Browser_Based_Debugger

Best regards

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com


On Thu, Feb 2, 2012 at 9:06 PM, pbreit pbreitenb...@gmail.com wrote:

 Logging is helpful.

 https://groups.google.com/d/msg/web2py/CI5JGc8yZw8/K3v9nSWi2dYJ



Re: [web2py] Re: Debugging in web2py

2012-02-02 Thread Mariano Reingart
With apache, you can try a remote debugger like winpdb.

I'm working on a simple approach for web2py based on a simple debugger
(qdb, an enhancement to pdb).

Please see the following page for further instructions:

http://code.google.com/p/rad2py/wiki/QdbRemotePythonDebugger

Basically:

* copy qdb.py to modules
* insert import qdb; qdb.set_trace() in your controller to start the debugger
* run python qdb.py from the command line to debug

The commands are very similar to pdb, you can evaluate expressions and
execute statements, set breakpoints, jump, etc.
If you need to connect from a remote machine, open the qdb.py file and
change the host address (currently it is 'localhost' port 3000 per
default)

Best regards,

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com



On Thu, Feb 2, 2012 at 6:22 PM, Web2Py Freak halna...@gardeniatelco.com wrote:
 What i want to do is to use debugging in an application that i
 integrated with PayPal and its working on Apache , i get some vars in
 the url from paypal and am trying to save them in the database but
 something happens   .. so any ideas how can i debug that !!