Restore breakpoint listing. (#1811)

This commit is contained in:
karliss 2019-10-03 21:04:15 +03:00 committed by GitHub
parent 1cef190d29
commit 38cdb90dc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1348,7 +1348,7 @@ void CutterCore::disableBreakpoint(RVA addr)
QList<BreakpointDescription> CutterCore::getBreakpoints() QList<BreakpointDescription> CutterCore::getBreakpoints()
{ {
QList<BreakpointDescription> ret; QList<BreakpointDescription> ret;
QJsonArray breakpointArray = {}; //cmdj("dbj").array(); QJsonArray breakpointArray = cmdj("dbj").array();
for (const QJsonValue &value : breakpointArray) { for (const QJsonValue &value : breakpointArray) {
QJsonObject bpObject = value.toObject(); QJsonObject bpObject = value.toObject();