| 133 | } |
| 134 | |
| 135 | QMap<QString, dap::array<IBreakpoint>> DebugModel::getAllBreakpoints() |
| 136 | { |
| 137 | QMap<QString, dap::array<IBreakpoint>> allBreakpoints; |
| 138 | for (auto it : breakPoints) { |
| 139 | auto ibp = convertToIBreakpoint(it); |
| 140 | QString path = ibp.uri.path(); |
| 141 | if (allBreakpoints.contains(path)) { |
| 142 | allBreakpoints[path].push_back(ibp); |
| 143 | } else { |
| 144 | allBreakpoints.insert(path, {ibp}); |
| 145 | } |
| 146 | } |
| 147 | return allBreakpoints; |
| 148 | } |
| 149 | |
| 150 | bool DebugModel::areBreakpointsActivated() |
| 151 | { |
no test coverage detected