Re: [Django Design] Inline debugging

2011-02-10 Thread Sameer Rahmani
Hi again @benjamin Django-command-extension is a really great tools but ipython is a robust python shell with internal debugger autho completer and some many features, there are many situation that runserver_plus does does not come handy, also terminal is a great friend of a developer you have te

Re: [Django Design] Inline debugging

2011-02-10 Thread Gabriel Hurley
I'm not a fan of one-size-fits-all debugging tools. The last several replies clearly show the variety of preferences people have for the already-existing options. Adding a setting that allows you to replace the debugging module also implies the replacement modules support a common API, which may

Re: [Django Design] Inline debugging

2011-02-09 Thread Sameer Rahmani
Hi Russel at first thanks for consideration. I post that patch just because providing a little background about idea for other, also i know that that patch is not well written code. So it will be nice to talk about the main idea not about that patch. I think hooks are a useful for development. If

Re: [Django Design] Inline debugging

2011-02-09 Thread Russell Keith-Magee
On Thu, Feb 10, 2011 at 12:46 PM, Sameer Rahmani wrote: > Hi Russell > > that patch is just a lazy code as i said before, but the idea will > implements in better ways. it will be a good idea to use such code in > development web server as an option. so user can easily use it, but using > hooks an

Re: [Django Design] Inline debugging

2011-02-09 Thread Alex Kamedov
Hi, I think this is a good idea! +1 for "python manage.py runserver --debug" On Thu, Feb 10, 2011 at 9:46 AM, Sameer Rahmani wrote: > Hi Russell > > that patch is just a lazy code as i said before, but the idea will > implements in better ways. it will be a good idea to use such code in > devel

Re: [Django Design] Inline debugging

2011-02-09 Thread Sameer Rahmani
Hi Russell that patch is just a lazy code as i said before, but the idea will implements in better ways. it will be a good idea to use such code in development web server as an option. so user can easily use it, but using hooks and building and external tool is not a good way to deal with debuggin

Re: [Django Design] Inline debugging

2011-02-09 Thread Russell Keith-Magee
On Thu, Feb 10, 2011 at 3:21 AM, Sameer Rahmani wrote: > Hi, > > i was working in a project with a very complex logic, and i mixed up > with logical problems in the code. i used some debugging methods and > tools like ipdb, pdb.set_trace(), django-command-extension and etc. but > at last i end up

[Django Design] Inline debugging

2011-02-09 Thread Sameer Rahmani
Hi, i was working in a project with a very complex logic, and i mixed up with logical problems in the code. i used some debugging methods and tools like ipdb, pdb.set_trace(), django-command-extension and etc. but at last i end up with a little django patch #15249. that patch provide a easy way