Kinda like django's stacktraces ?

I have been an advocate for this for a while, yet since I have been
using WingIDE debugger I havn't really needed this.

-Thadeus





On Tue, Mar 9, 2010 at 11:10 AM, Jon Romero <[email protected]> wrote:
> I don't think this is a problem.
>
> If I wanted to check the data of db, I would use a sqlite viewer (or a
> mysql viewer). 99% of cases I just want to
> check a variable, sessions or vars/args. I don't want to have a full
> blown terminal to experiment.
> Just a screen where I can poke around, see what is the problem,
> correct it on my code and refresh the page.
> If something is wrong with my data, I always find it easier/faster to
> check them with a viewer.
>
> On Mar 9, 6:57 pm, mdipierro <[email protected]> wrote:
>> Problem is that database is closed when the page returns (and rolled
>> back) so any attempt to use db will result in "database closed". This
>> is the hard part.
>>
>> On Mar 9, 10:33 am, Jon Romero <[email protected]> wrote:
>>
>>
>>
>> > On Mar 9, 6:28 pm, mdipierro <[email protected]> wrote:
>>
>> > > Let me think about this.
>> > > We could:
>> > > 1) save the response._environment in ram
>> > > 2) if logged in user is admin allow the user to open a web2py shell in
>> > > the above environment.
>>
>> > Yes!
>>
>> > > the main problem is what do we do with database transactions? when do
>> > > we close them?
>>
>> > Whatever happened before the "crush", should be stored (db.commit()).
>> > After that, it's like the normal web2py shell (user has to commit by
>> > himself).
>>
>> > > Massimo
>>
>> > > On Mar 9, 10:17 am, Jon Romero <[email protected]> wrote:
>>
>> > > > I've seen that Pylons has an AWESOME debugger.
>> > > > Every time an error occurs, you have an AJAX console where you can
>> > > > inspect elements!
>>
>> > > > This is waaaaaaay more useful than tickets (at least on development)
>> > > > where you click a ticket, go to the new page, read the error, do a
>> > > > print in your code so you can inspect the element, close the ticket
>> > > > page and refresh to get a new ticket, go to the error page, watch the
>> > > > error etc etc ...
>>
>> > > > How difficult is to add something like this in to web2py?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" 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/web2py?hl=en.
>
>

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

Reply via email to