Rushikesh Talokar
Rushikesh Talokar

Reputation: 1585

c/fortran function memory analyser tool

I came across some issue in which my application gives different results for relase & debug mode. Is there any tool available by which I can check memory map difference & variable values of a function between two modes.

Upvotes: 0

Views: 64

Answers (1)

thkala
thkala

Reputation: 86333

If you are using a Unix-like operating system, you might want to have a look at Valgrind. Output differences between debug and release mode are often due to the executables having a different memory layout, thus exposing memory-related bugs that are not otherwise visible.

Upvotes: 4

Related Questions