forked from qt-creator/qt-creator
		
	debugger: Refactor breakpoint handling.
The breakpoints are now (fairly) tightly guarded by the BreakpointHandler. Engines and Views are only supposed to refer to them by id. They also have individual states now. The breakpoint data is split into a "user requested" "fixed" part in BreakpointData and the engines' acknowledged data in a new struct BreakpointResponse. TODO: Move m_state and m_engine members to BreakpointResponse. Fix regressions in the marker handling.
This commit is contained in:
		@@ -28,9 +28,11 @@
 | 
			
		||||
**************************************************************************/
 | 
			
		||||
 | 
			
		||||
#include "remotegdbserveradapter.h"
 | 
			
		||||
#include "gdbmi.h"
 | 
			
		||||
 | 
			
		||||
#include "debuggercore.h"
 | 
			
		||||
#include "debuggerstringutils.h"
 | 
			
		||||
#include "gdbengine.h"
 | 
			
		||||
#include "gdbmi.h"
 | 
			
		||||
 | 
			
		||||
#include <utils/qtcassert.h>
 | 
			
		||||
#include <utils/fancymainwindow.h>
 | 
			
		||||
@@ -132,7 +134,7 @@ void RemoteGdbServerAdapter::uploadProcError(QProcess::ProcessError error)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    showMessage(msg, StatusBar);
 | 
			
		||||
    DebuggerEngine::showMessageBox(QMessageBox::Critical, tr("Error"), msg);
 | 
			
		||||
    showMessageBox(QMessageBox::Critical, tr("Error"), msg);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void RemoteGdbServerAdapter::readUploadStandardOutput()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user