MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / breakInsert

Method breakInsert

src/tools/debugadapter/debugger/gdbmi/gdbdebugger.cpp:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118QString GDBDebugger::breakInsert(const QString &path, const QString &condition, bool isTemp)
119{
120 if (isTemp)
121 return QString{"-break-insert -t -f %1"}.arg(path);
122 else if (condition.isEmpty())
123 return QString{"-break-insert -f %1"}.arg(path);
124 else
125 return QString{"-break-insert -c \"%1\" -f %2"}.arg(condition, path);
126}
127
128QString GDBDebugger::breakRemove(int bpid)
129{

Callers 1

updateBreakpointsMethod · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected