From a0ebededd2b0d21a4102a27aa5af462667010c6f Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Wed, 22 Jun 2011 18:18:01 +0400 Subject: [PATCH] Django template debugger: step over fixed. --- python/helpers/pydev/pydevd_frame.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/python/helpers/pydev/pydevd_frame.py b/python/helpers/pydev/pydevd_frame.py index f6ca147b742f..3b409add98b5 100644 --- a/python/helpers/pydev/pydevd_frame.py +++ b/python/helpers/pydev/pydevd_frame.py @@ -131,8 +131,6 @@ class PyDBFrame: if django_breakpoint.condition is not None: try: val = eval(django_breakpoint.condition, new_frame.f_globals, new_frame.f_locals) - print django_breakpoint.condition - print val if not val: flag = False except: @@ -151,10 +149,6 @@ class PyDBFrame: if flag: frame = suspend_django(self, mainDebugger, thread, frame) - if not flag: - return self.trace_dispatch - - #return is not taken into account for breakpoint hit because we'd have a double-hit in this case #(one for the line and the other for the return). elif event != 'return' and info.pydev_state != STATE_SUSPEND and breakpoints_for_file is not None\ @@ -202,7 +196,6 @@ class PyDBFrame: elif info.pydev_step_cmd == CMD_STEP_OVER: if is_django_suspended(thread): - django_stop = event == 'call' and is_django_render_call(frame) stop = False