You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I uncommented the printf statements inside the malloc and free functions, but when executing this simple program nothing is printed. Using gdb shows that I never actually hit the "tracking" malloc and free implementations. Am I doing something wrong?
This is the CMakeLists.txt I am using (I copy-pasted the header and source file. Very inelegant, I know)
I am trying to use
memwatch
but I can't seem to make it work. This is a pretty simple C example I came up with:I uncommented the
printf
statements inside themalloc
andfree
functions, but when executing this simple program nothing is printed. Using gdb shows that I never actually hit the "tracking"malloc
andfree
implementations. Am I doing something wrong?This is the
CMakeLists.txt
I am using (I copy-pasted the header and source file. Very inelegant, I know)The text was updated successfully, but these errors were encountered: