debugging with pycharm

104 views
Skip to first unread message

Mark Lybrand

unread,
Apr 22, 2013, 1:14:59 AM4/22/13
to django...@googlegroups.com
I can't get PyCharm to break at breakpoints when debugging a django app. what is the magic incantation i neec to invoke to make this happen regardless of where i am in code (views, urls, models, templates, etc)

--
Mark :)

Nikolas Stevenson-Molnar

unread,
Apr 22, 2013, 1:58:51 PM4/22/13
to django...@googlegroups.com
I assume you're running it in the debugger? Make sure you regular server isn't still running. Also, make sure your break point is on a line a line which does something (e.g., not on a class/function definition, empty line, etc.)

_Nik
--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mark Lybrand

unread,
Apr 22, 2013, 2:03:11 PM4/22/13
to django...@googlegroups.com

It would appear that this was broken in 2.7.1.  When I upgraded to 2.7.2  my breakpoints once again work as expected.

--
Mark :)

Ezequiel

unread,
Apr 23, 2013, 12:49:58 AM4/23/13
to django...@googlegroups.com
On Monday, April 22, 2013 3:03:11 PM UTC-3, Mark Lybrand wrote:

It would appear that this was broken in 2.7.1.  When I upgraded to 2.7.2  my breakpoints once again work as expected.

I think in 2.7.1 the BP did not work if you set them after running server, on 2.7.2 is fixed. But in 2.7.2 I've lost the debug on templates, Do you also happened to you?

---
Ezequiel

Mark Lybrand

unread,
Apr 23, 2013, 3:02:43 AM4/23/13
to django...@googlegroups.com
I hope not :(  I will check template debugging tomorrow.  I have already started looking at WingIDE as an alternative, but would much prefer to stick with PyCharm, since I am familiar with other JetBrain products.


--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Mark :)

Bowman han

unread,
Jun 1, 2015, 7:03:16 AM6/1/15
to django...@googlegroups.com
Thx,that works.
Reply all
Reply to author
Forward
0 new messages