| 116 | } |
| 117 | |
| 118 | QString 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 | |
| 128 | QString GDBDebugger::breakRemove(int bpid) |
| 129 | { |
no test coverage detected