Re: django debugger

2013-11-12 Thread Harjot Mann
On Sun, Nov 10, 2013 at 12:27 PM, Harjot Mann  wrote:
> I succesfuly installed it on django's local server but what should I
> need to do for those apps which are working on apache server. Even I
> noticed that its not working on django' local server with my app which
> is configured with apache. May I know the reason?
> Or should I need to do some settings?


Waiting for reply.

-- 
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhB%2B8FOObZQnvS%2BY%2BE5LAvALpHErLt6M1c4quVG2v2wZ0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: django debugger

2013-11-09 Thread Harjot Mann
On Fri, Nov 8, 2013 at 9:40 AM, CLIFFORD ILKAY
 wrote:
>
> Django debug toolbar
>  will do that.


Thanks Clifford for suggesting me, actually I knew that it will fulill
my requirement.
I succesfuly installed it on django's local server but what should I
need to do for those apps which are working on apache server. Even I
noticed that its not working on django' local server with my app which
is configured with apache. May I know the reason?
Or should I need to do some settings?

-- 
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhANRgLeupi5nTpxDUQ66BkC2LSRjXaToAwCZMki%3DVdRDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: django debugger

2013-11-08 Thread DJ-Tom
Hi,

Pycharm ist very good, I'm using it on a daily basis with Django, debugging 
included.

Google for debugging django pycharm and you will find loads of hints how to 
set this up.

You may also want to look at this review, as it covers a lot of the 
features that Pycharm has:

http://andrewbrookins.com/tech/one-year-later-an-epic-review-of-pycharm-2-7-from-a-vim-users-perspective/

Thomas

Am Dienstag, 5. November 2013 19:29:28 UTC+1 schrieb Harjot Mann:
>
> I want to know that how can we debug django applications? 
> I got pdb but I think in this some commands are need to use and then I 
> come to know about pycharm. 
> Is it good? 
> I successfully installed it but dont' know how to use it? 
> Anyone please help me.. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/36e4bf1c-3243-4cfc-8fa4-d841f0aa3bd5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: django debugger

2013-11-07 Thread CLIFFORD ILKAY
On 11/07/2013 02:19 PM, Harjot Mann wrote:
> Is it possible to view the sql queries working at the backend of
> django from browser directly? 

Django debug toolbar
 will do that.

-- 
Regards,

Clifford Ilkay

647-778-8696

Dinamis



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/527C6442.1020508%40dinamis.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: django debugger

2013-11-07 Thread Harjot Mann
On Thu, Nov 7, 2013 at 11:35 PM, Andrew Farrell  wrote:
> It is possible to use pdb (or ipdb: https://pypi.python.org/pypi/ipdb) by
> inserting a set_trace() call and then running the django dev server with
> `manage.py runserver`. For example, the following will print the number of
> database queries before and then after a function which touches the database
> and, drop you into the pdb shell. This of course causes the server to block.


But I want that when my application runs, I can see all the queries
running from my browser, like apache log file is there. Is it possible
to view the sql queries working at the backend of django from browser
directly?

-- 
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhCjrmdzatgf88XquQ3XDBnBNR7smyooe%2Bodt4xM21EsEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: django debugger

2013-11-07 Thread Andrew Farrell
It is possible to use pdb (or ipdb: https://pypi.python.org/pypi/ipdb) by 
inserting a set_trace() call and then running the django dev server with 
`manage.py runserver`. For example, the following will print the number of 
database queries before and then after a function which touches the 
database and, drop you into the pdb shell. This of course causes the server 
to block.

from django.db import connection
import pdb

print len(connection.queries)
structure = get_data()
print len(connection.queries)
pdb.set_trace()



On Tuesday, November 5, 2013 1:29:28 PM UTC-5, Harjot Mann wrote:
>
> I want to know that how can we debug django applications? 
> I got pdb but I think in this some commands are need to use and then I 
> come to know about pycharm. 
> Is it good? 
> I successfully installed it but dont' know how to use it? 
> Anyone please help me.. 
> -- 
> Harjot Kaur Mann 
> Blog: http://harjotmann.wordpress.com/ 
> Daily Dairy: http://harjotmann.wordpress.com/daily-diary/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a9cd55db-843a-4f44-b8b0-3549d120611f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: django debugger

2013-11-06 Thread Stefano Probst
Of course you can use the 
toolbaralso. The toolbar is 
a app witch run 'inside' your Project. With the 
eclipse debugger you can set breakpoints and run your program step by step. 
This are different types of debugging,
The 
installationof
 Django Debug Toolbar is really easy. If you use Eclipse already its also 
easy to debug with it, but if Eclipse isn't configured for your project you 
need some time to get it work.

I would say try booth.

best regards

PS:
Some Eclipse links:
Eclipse 
PyDev  - The Python plugin for Eclipse
Aptana  - Eclipse with preinstalled Python plugins 
/ preconfigured 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d7f171c1-c251-4dfd-84fa-92fcdd560f3e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: django debugger

2013-11-06 Thread Stefano Probst
If you use Eclipse, you can set Breakpoints and go forward step by step.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d9a3d8af-02df-48c5-9db8-f0789bb28b5a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: django debugger

2013-11-06 Thread Harjot Mann
On Wed, Nov 6, 2013 at 8:49 PM, Stefano Probst  wrote:
> If you use Eclipse, you can set Breakpoints and go forward step by step.


What about django debug toolbar?

-- 
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhBez-CuB-RmYGf0exkfmDgCH%3DL5fEnd-smBR2a77B7sfA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: django debugger

2013-11-05 Thread Tomas Ehrlich
Hi Harjot,
try https://github.com/Kozea/wdb if you want debugger like pdb
or simple https://github.com/django-debug-toolbar/django-debug-toolbar
which provides lots of useful informations.

Unfortunately, I don't use pdb nor wdb, so I can't help you with any of them.


Cheers,
  Tom

Dne Tue, 5 Nov 2013 23:59:28 +0530
Harjot Mann  napsal(a):

> I want to know that how can we debug django applications?
> I got pdb but I think in this some commands are need to use and then I
> come to know about pycharm.
> Is it good?
> I successfully installed it but dont' know how to use it?
> Anyone please help me..


signature.asc
Description: PGP signature


django debugger

2013-11-05 Thread Harjot Mann
I want to know that how can we debug django applications?
I got pdb but I think in this some commands are need to use and then I
come to know about pycharm.
Is it good?
I successfully installed it but dont' know how to use it?
Anyone please help me..
-- 
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhD3mijNApC0E0D8TX-jcMVF4VJZhrkG%3DuieqLc5GJi41Q%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.