Totalview® for HPC Getting Started Guide
:
Getting Started with TotalView Products
:
Memory Debugging
:
Finding Dangling Pointers
Finding Dangling Pointers
With memory debugging turned on in TotalView, you can identify a dangling pointer (points into deallocated memory) through additional information in the Variable Windows and the Stack Frame Pane,
Figure 29
.
Figure 29 –
Dangling Pointers
RELATED TOPICS
Fixing dangling pointers
“
Fixing Dangling Pointer Problems”
in
Debugging Memory Problems with MemoryScape
Using the command
dheap -is_dangling
“
Checking for Dangling Pointers:
“
dheap -is_dangling
”
in
Debugging Memory Problems with MemoryScape