Commits

abudden  committed 631bfde

Additional debug in attempt to identify issue with UpdateTypesFileOnly.

  • Participants
  • Parent commits d649fdd

Comments (0)

Files changed (3)

File autoload/TagHighlight/Generation.vim

 endfunction
 
 function! TagHighlight#Generation#UpdateAndRead(skiptags)
+	call TagHLDebug("UpdateAndRead() called with parameter " . a:skiptags, "Information")
 	let restore_options = 0
 	if exists('b:TagHighlightSettings')
 		let stored_options = deepcopy(b:TagHighlightSettings)
 
 	" Start with a copy of the settings so that we can tweak things
 	if a:skiptags
+		call TagHLDebug("Skipping tag generation", "Information")
 		let b:TagHighlightSettings['DoNotGenerateTags'] = 1
 	endif
 	
 	if restore_options
 		let b:TagHighlightSettings = deepcopy(stored_options)
 	endif
+	call TagHLDebug("UpdateAndRead() complete", "Information")
 endfunction

File doc/TagHighlight.txt

 ==============================================================================
 7. TagHighlight History                *TagHighlight-history*               {{{1
 
+2.0.21: 10th August 2011   : Additional debug.
+
 2.0.20: 9th August 2011    : Further improvements to build script.
 
 2.0.19: 9th August 2011    : Minor tweaks to build script.

File plugin/TagHighlight/module/worker.py

     Debug("Running types highlighter generator", "Information")
     Debug("Release:" + config['release'], "Information")
     Debug("Version:" + repr(config['version']), "Information")
+    Debug("Options:" + repr(options), "Information")
 
     if config['use_existing_tagfile'] and not os.path.exists(config['ctags_file']):
+        Debug("Cannot use existing tagfile as it doesn't exist (checking for " + config['ctags_file'] + ")", "Information")
         config['use_existing_tagfile'] = False
 
     LoadLanguages()
     from .generation import CreateTypesFile
 
     if not config['use_existing_tagfile']:
+        Debug("Generating tag file", "Information")
         GenerateTags(config)
     tag_db = ParseTags(config)