forked from qt-creator/qt-creator
		
	CDB: Fix loading of user scripts
Change-Id: I20008227fd73b16978d63b50c4b9a38c0b590f09 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
		
				
					committed by
					
						
						Orgad Shaneh
					
				
			
			
				
	
			
			
			
						parent
						
							42a5446b6c
						
					
				
				
					commit
					9a1030cfab
				
			@@ -2977,7 +2977,7 @@ void CdbEngine::setupScripting(const DebuggerResponse &response)
 | 
			
		||||
 | 
			
		||||
    const QString path = stringSetting(ExtraDumperFile);
 | 
			
		||||
    if (!path.isEmpty() && QFileInfo(path).isReadable()) {
 | 
			
		||||
        DebuggerCommand cmd("addDumperModule", ScriptCommand);
 | 
			
		||||
        DebuggerCommand cmd("theDumper.addDumperModule", ScriptCommand);
 | 
			
		||||
        cmd.arg("path", path);
 | 
			
		||||
        runCommand(cmd);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user