mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:32:45 +00:00 
			
		
		
		
	Everywhere: Hook up remaining debug macros to Debug.h.
This commit is contained in:
		
							parent
							
								
									da69de1f1b
								
							
						
					
					
						commit
						eea72b9b5c
					
				
					 63 changed files with 458 additions and 287 deletions
				
			
		|  | @ -40,7 +40,7 @@ Vector<GUI::AutocompleteProvider::Entry> AutoComplete::get_suggestions(const Str | |||
|     if (!ast) | ||||
|         return {}; | ||||
| 
 | ||||
| #ifdef DEBUG_AUTOCOMPLETE | ||||
| #if AUTOCOMPLETE_DEBUG | ||||
|     dbgln("Complete '{}'", code); | ||||
|     ast->dump(1); | ||||
|     dbgln("At offset {}", offset); | ||||
|  | @ -49,7 +49,7 @@ Vector<GUI::AutocompleteProvider::Entry> AutoComplete::get_suggestions(const Str | |||
|     auto result = ast->complete_for_editor(m_shell, offset); | ||||
|     Vector<GUI::AutocompleteProvider::Entry> completions; | ||||
|     for (auto& entry : result) { | ||||
| #ifdef DEBUG_AUTOCOMPLETE | ||||
| #if AUTOCOMPLETE_DEBUG | ||||
|         dbgln("Suggestion: '{}' starting at {}", entry.text_string, entry.input_offset); | ||||
| #endif | ||||
|         completions.append({ entry.text_string, entry.input_offset }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 asynts
						asynts