mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:27:44 +00:00
Profiler: Print addresses as pointers in new Samples view
The previous formatting was missing the "0x" prefix.
This commit is contained in:
parent
e8fd53c247
commit
007b6edce4
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ GUI::Variant IndividualSampleModel::data(const GUI::ModelIndex& index, GUI::Mode
|
||||||
|
|
||||||
if (role == GUI::ModelRole::Display) {
|
if (role == GUI::ModelRole::Display) {
|
||||||
if (index.column() == Column::Address)
|
if (index.column() == Column::Address)
|
||||||
return String::formatted("{:08x}", frame.address);
|
return String::formatted("{:p}", frame.address);
|
||||||
|
|
||||||
if (index.column() == Column::Symbol) {
|
if (index.column() == Column::Symbol) {
|
||||||
return frame.symbol;
|
return frame.symbol;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue