forked from qt-creator/qt-creator
Debugger: Combine some watch related GDB and LLDB code paths
Change-Id: I20e5f6f04418c931354a07bc3597f6982fcaf942 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -4753,19 +4753,14 @@ void addGdbOptionPages(QList<IOptionsPage *> *opts)
|
||||
opts->push_back(new GdbOptionsPage2());
|
||||
}
|
||||
|
||||
|
||||
void GdbEngine::updateLocalsPython(const UpdateParameters ¶ms)
|
||||
{
|
||||
//m_pendingWatchRequests = 0;
|
||||
m_pendingBreakpointRequests = 0;
|
||||
m_processedNames.clear();
|
||||
|
||||
WatchHandler *handler = watchHandler();
|
||||
|
||||
DebuggerCommand cmd("showData");
|
||||
cmd.arg("expanded", handler->expansionRequests());
|
||||
cmd.arg("typeformats", handler->typeFormatRequests());
|
||||
cmd.arg("formats", handler->individualFormatRequests());
|
||||
watchHandler()->appendFormatRequests(&cmd);
|
||||
|
||||
cmd.arg("stringcutoff", action(MaximalStringLength)->value().toByteArray());
|
||||
cmd.arg("displaystringlimit", action(DisplayStringLimit)->value().toByteArray());
|
||||
|
||||
Reference in New Issue
Block a user