Your SlideShare is downloading. ×
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Debugging (Django) application in PyCharm

1,155

Published on

Debugging (Django) application in PyCharm …

Debugging (Django) application in PyCharm
PyVo/Rubyslava - November 2013

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,155
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Debugging (Django) application in PyCharm Pavel Kočí @pavelkoci PyVo/Rubyslava - November 2013
  • 2. How to get some debugging data? Common sophisticated debugging tools: ● ● ● Perl: warn... PHP: echo... Python: print... logger...
  • 3. How to get some debugging data? Common sophisticated debugging tools: ● ● ● Perl: warn... PHP: echo... Python: print... logger...
  • 4. Use debugger!
  • 5. When and why to use debugger? When: ● large project ● 3rd party library crash ● really poorly written code Why: ● ● ● breakpoints investigation of the variables and objects stepping through program
  • 6. Breakpoints ● ● ● ● Standard breakpoint Conditional breakpoint Enable breakpoint after another breakpoint hit What happens ● suspend application ● log message to console ● log evaluated expression
  • 7. Investigation of the variables and objects ● ● Frames stack Variables and object in selected frame context
  • 8. Investigation of the variables and objects ● Evaluate expression in current frame context
  • 9. More in PyCharm ● ● ● Exception breakpoint Javascript debugging - Firefox or Chrome support Template debugging - Django, Mako, Jinja2, Web2Py, Chameleon
  • 10. More about PyCharm ● ● ● ● ● ● Professional Edition - paid Community Edition – free, open-source, but without Django support, ... VCS support Databases and SQL support VirtualEnv support http://www.jetbrains.com/pycharm/
  • 11. Thanks ...

×