@Override
        public void onLocationLinkClick(String url, int lineNumber) {
          SourceMapping sourceMapping = debuggerState.getSourceMapping();
          if (sourceMapping == null) {
            // Ignore. Maybe the debugger has just been shutdown.
            return;
          }

          PathUtil path = sourceMapping.getLocalSourcePath(url);
          if (path != null) {
            maybeNavigateToDocument(path, lineNumber);
          }
        }