Skip to content
Browse files

temporary enable backtrace generation when error caught

  • Loading branch information...
1 parent d4ee1a6 commit 31be62abc6fe4c61fdcbe48e8cbb13d4f0e3242e @alexott committed Jun 14, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 ecb.el
View
9 ecb.el
@@ -1369,14 +1369,15 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
'ecb-compilation-update-menu)
)
(error
- ;; (backtrace)
+ (backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the basic setup of ECB." err-obj)))
(condition-case err-obj
;; run personal hooks before drawing the layout
(run-hooks 'ecb-activate-before-layout-draw-hook)
(error
+ (backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the hooks of ecb-activate-before-layout-draw-hook."
err-obj)))
@@ -1426,6 +1427,7 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(ecb-mode-line-format)
)
(error
+ (backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the layout setup of ECB." err-obj))
)
@@ -1439,13 +1441,15 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(ecb-fix-filename (with-current-buffer (window-buffer edit-window)
default-directory)))))
(error
+ (backtrace)
(ecb-clean-up-after-activation-failure
"Errors during setting the default directory." err-obj)))
(condition-case err-obj
;; we run any personal hooks
(run-hooks 'ecb-activate-hook)
(error
+ (backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the hooks of ecb-activate-hook." err-obj)))
@@ -1460,6 +1464,7 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(if (ecb-show-any-node-info-by-mouse-moving-p)
(tree-buffer-activate-follow-mouse))
(error
+ (backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the mouse-tracking activation." err-obj)))
@@ -1480,6 +1485,7 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(ecb-run-with-idle-timer 0.25 nil 'ecb-display-upgraded-options)
(ecb-display-news-for-upgrade))
(error
+ (backtrace)
(ecb-clean-up-after-activation-failure
"Error during the compatibility-check of ECB." err-obj)))
@@ -1502,6 +1508,7 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(setq ecb-activated-window-configuration
(ecb-current-window-configuration))
(error
+ (backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the snapshot of the windows-configuration." err-obj)))
))))

0 comments on commit 31be62a

Please sign in to comment.
Something went wrong with that request. Please try again.