It needs to be a debug build.

This commit is contained in:
konqoro 2017-07-10 14:06:03 +03:00
parent 4fb394d5a8
commit 1d7e7f64f3
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Embedded Stack Trace Profiler: http://nim-lang.org/docs/estp.html
[source,bash]
----
# build your application as:
nim -d:release --debugger:native c application.nim
nim --debugger:native c application.nim
# profile calls with:
valgrind --tool=callgrind ./application