diff --git a/src/apps/debugger/user_interface/gui/team_window/BreakpointListView.cpp b/src/apps/debugger/user_interface/gui/team_window/BreakpointListView.cpp index 6b88b6316d..a3742d8f3b 100644 --- a/src/apps/debugger/user_interface/gui/team_window/BreakpointListView.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/BreakpointListView.cpp @@ -217,7 +217,7 @@ public: virtual int32 CountColumns() const { - return 3; + return 4; } virtual int32 CountRows() const @@ -277,6 +277,12 @@ private: value.SetTo(data); return true; } + case 3: + { + value.SetTo(breakpoint->Condition(), + B_VARIANT_DONT_COPY_DATA); + return true; + } default: return false; } @@ -456,6 +462,8 @@ BreakpointListView::_Init(BView* filterTarget) 1000, B_TRUNCATE_END, B_ALIGN_LEFT)); fBreakpointsTable->AddColumn(new StringTableColumn(2, "File:Line/Address", 250, 40, 1000, B_TRUNCATE_END, B_ALIGN_LEFT)); + fBreakpointsTable->AddColumn(new StringTableColumn(3, "Condition", + 250, 40, 1000, B_TRUNCATE_END, B_ALIGN_LEFT)); fBreakpointsTable->SetSelectionMode(B_MULTIPLE_SELECTION_LIST); fBreakpointsTable->AddTableListener(this);