Merge pull request #12973 from Tilka/debugger
Debugger: keep breakpoints ordered by address
This commit is contained in:
commit
0fe2abf53c
|
@ -207,8 +207,11 @@ void BreakpointWidget::OnClicked(QTableWidgetItem* item)
|
|||
if (!item)
|
||||
return;
|
||||
|
||||
if (item->column() == ADDRESS_COLUMN || item->column() == END_ADDRESS_COLUMN)
|
||||
if (item->column() == SYMBOL_COLUMN || item->column() == ADDRESS_COLUMN ||
|
||||
item->column() == END_ADDRESS_COLUMN)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
const u32 address = static_cast<u32>(m_table->item(item->row(), 0)->data(ADDRESS_ROLE).toUInt());
|
||||
|
||||
|
@ -351,6 +354,8 @@ void BreakpointWidget::Update()
|
|||
i++;
|
||||
}
|
||||
|
||||
m_table->sortItems(ADDRESS_COLUMN);
|
||||
|
||||
// Memory Breakpoints
|
||||
for (const auto& mbp : memchecks.GetMemChecks())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue