   (if live-py-update-all-delay
       (setq-local live-py-timer (run-at-time live-py-update-all-delay
                                              nil
-                                             #'live-py-trace-update))
-    (live-py-trace-update)))
-
-(defun live-py-trace-update ()
-  "Trace the Python code using code_tracer.py."
+                                             #'live-py-update-all))
+    (live-py-update-all)))
+
+(defun live-py-update-all ()
+  "Update trace buffer and output window."
   ;; For when called from elsewhere than `live-py-after-change-function'.
   (when live-py-timer (cancel-timer live-py-timer))
   ;; For `live-py-lighter' in `live-py-after-change-function'.

  "Minor mode to do on-the-fly Python tracing.
When called interactively, toggles the minor mode.
With arg, turn mode on if and only if arg is positive.
\\{live-py-mode-map}"
  :group 'live-py-mode
  :lighter live-py-lighter

  (unless (buffer-file-name)
    (user-error "Current buffer has no associated file"))
  (cond
   ;; Turning the mode ON.
   (live-py-mode
    (setq live-py-dir (file-name-directory buffer-file-name)
