It'll be tricky to test this, but I will try.
Created attachment 97265 [details] Patch
Comment on attachment 97265 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=97265&action=review > LayoutTests/inspector/debugger/error-in-watch-expressions.html:30 > +Tests that watches pane renders errors in red. Please include a link to the bug.
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.