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 8c6ba03cc8..ba4b0312ca 100644 --- a/src/apps/debugger/user_interface/gui/team_window/BreakpointListView.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/BreakpointListView.cpp @@ -263,18 +263,18 @@ private: case 2: { LocatableFile* sourceFile = location.SourceFile(); + BString data; if (sourceFile != NULL) { - BString data; data.SetToFormat("%s:%" B_PRId32, sourceFile->Name(), location.GetSourceLocation().Line() + 1); - value.SetTo(data); } else { AutoLocker teamLocker(fTeam); if (UserBreakpointInstance* instance = breakpoint->InstanceAt(0)) { - value.SetTo(instance->Address()); + data.SetToFormat("%#" B_PRIx64, instance->Address()); } } + value.SetTo(data); return true; } default: