Browse Source

Do not set blackbox patterns when not set

* indium-v8.el (indium-v8--enable-debugger): Do not try to set blackbox patterns
  if `indium-debugger-blackbox-regexps' is not set.
wsc
Nicolas Petton 3 years ago
parent
commit
4df8a1afd9
No known key found for this signature in database GPG Key ID: E8BCD7866AFCF978
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      indium-v8.el

+ 2
- 1
indium-v8.el View File

@ -481,7 +481,8 @@ inspectors."
'((method . "Debugger.enable"))
(lambda (&rest _)
(indium-v8-set-pause-on-exceptions "uncaught")
(indium-v8--set-blackbox-patterns indium-debugger-blackbox-regexps))))
(when indium-debugger-blackbox-regexps
(indium-v8--set-blackbox-patterns indium-debugger-blackbox-regexps)))))
(defun indium-v8--set-blackbox-patterns (regexps)
"Replace previous blackbox patterns with passed REGEXPS."


Loading…
Cancel
Save