JavaScript Debugger stops responding after adding a variable to the watch list

[CR #541268] The JavaScript Debugger stops responding if you add a variable to the watch list, then start the JavaScript Debugger, and go through the javascript.

Workaround: None