Fix problem with global mesh lookup that was preventing debugger from working properly.