• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Debugging (Django) application in PyCharm
 

Debugging (Django) application in PyCharm

on

  • 1,000 views

Debugging (Django) application in PyCharm

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

Statistics

Views

Total Views
1,000
Views on SlideShare
973
Embed Views
27

Actions

Likes
0
Downloads
8
Comments
0

1 Embed 27

http://lanyrd.com 27

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Debugging (Django) application in PyCharm Debugging (Django) application in PyCharm Presentation Transcript

    • Debugging (Django) application in PyCharm Pavel Kočí @pavelkoci PyVo/Rubyslava - November 2013
    • How to get some debugging data? Common sophisticated debugging tools: ● ● ● Perl: warn... PHP: echo... Python: print... logger...
    • How to get some debugging data? Common sophisticated debugging tools: ● ● ● Perl: warn... PHP: echo... Python: print... logger...
    • Use debugger!
    • 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
    • Breakpoints ● ● ● ● Standard breakpoint Conditional breakpoint Enable breakpoint after another breakpoint hit What happens ● suspend application ● log message to console ● log evaluated expression
    • Investigation of the variables and objects ● ● Frames stack Variables and object in selected frame context
    • Investigation of the variables and objects ● Evaluate expression in current frame context
    • More in PyCharm ● ● ● Exception breakpoint Javascript debugging - Firefox or Chrome support Template debugging - Django, Mako, Jinja2, Web2Py, Chameleon
    • 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/
    • Thanks ...