forked from qt-creator/qt-creator
		
	Debugger: Merge debug mode and analyze mode
On the user-visible side, only the 'Analyze' mode button disappears, and instead a combobox to switch between different tools in appears in the Debug mode toolbar. Internally, that's quite some re-organzition: The centralized 'Analyze mode is busy' flag is gone, allowing us to run e.g. ClangStaticAnalyzer and MemCheck in parallel. Analyzer tools and debugger now share the same mechanism to generate/load/save dock widgets. Analyzer tools now create and handle their own start/stop button when appropriate. In general, Analyzer tools can create/handle more than one run control at a time. Further consolidation is possible, e.g. RunControl state handling could be merged into the base ProjectExplorer::RunControl to avoid the still existing duplication in ~15 instances. Change-Id: I91e5940ebc4211f98056d507cf2f7b5f8efe7f07 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
		@@ -29,6 +29,21 @@
 | 
			
		||||
#include <QtGlobal>
 | 
			
		||||
 | 
			
		||||
namespace Debugger {
 | 
			
		||||
namespace Internal {
 | 
			
		||||
 | 
			
		||||
// DebuggerMainWindow dock widget names
 | 
			
		||||
const char DOCKWIDGET_BREAK[]         = "Debugger.Docks.Break";
 | 
			
		||||
const char DOCKWIDGET_MODULES[]       = "Debugger.Docks.Modules";
 | 
			
		||||
const char DOCKWIDGET_REGISTER[]      = "Debugger.Docks.Register";
 | 
			
		||||
const char DOCKWIDGET_OUTPUT[]        = "Debugger.Docks.Output";
 | 
			
		||||
const char DOCKWIDGET_SNAPSHOTS[]     = "Debugger.Docks.Snapshots";
 | 
			
		||||
const char DOCKWIDGET_STACK[]         = "Debugger.Docks.Stack";
 | 
			
		||||
const char DOCKWIDGET_SOURCE_FILES[]  = "Debugger.Docks.SourceFiles";
 | 
			
		||||
const char DOCKWIDGET_THREADS[]       = "Debugger.Docks.Threads";
 | 
			
		||||
const char DOCKWIDGET_WATCHERS[]      = "Debugger.Docks.LocalsAndWatchers";
 | 
			
		||||
 | 
			
		||||
} // namespace Internal
 | 
			
		||||
 | 
			
		||||
namespace Constants {
 | 
			
		||||
 | 
			
		||||
const char DEBUGGER_COMMON_SETTINGS_ID[]   = "A.Debugger.General";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user