It needs to be a debug build.
This commit is contained in:
parent
4fb394d5a8
commit
1d7e7f64f3
|
@ -5,7 +5,7 @@ Embedded Stack Trace Profiler: http://nim-lang.org/docs/estp.html
|
||||||
[source,bash]
|
[source,bash]
|
||||||
----
|
----
|
||||||
# build your application as:
|
# build your application as:
|
||||||
nim -d:release --debugger:native c application.nim
|
nim --debugger:native c application.nim
|
||||||
|
|
||||||
# profile calls with:
|
# profile calls with:
|
||||||
valgrind --tool=callgrind ./application
|
valgrind --tool=callgrind ./application
|
||||||
|
|
Loading…
Reference in New Issue