ide/CodeEditor: (#79) Fixed watches not handling global data properly