aboutsummaryrefslogtreecommitdiff
path: root/user-scripts/valgrind-notes.md
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-03-28 11:19:11 -0600
committerNunoSempere <nuno.sempere@protonmail.com>2023-03-28 11:19:11 -0600
commitbbcf1dabd26bb4e93aa4780d1771c3b449c068ec (patch)
tree375468f139ee1032626969d9965cd18eaaec50e8 /user-scripts/valgrind-notes.md
parentca59138a2aef96960381f986b8c683634e4d8e63 (diff)
Revert "tweak: move things around"
This reverts commit ca59138a2aef96960381f986b8c683634e4d8e63.
Diffstat (limited to 'user-scripts/valgrind-notes.md')
-rw-r--r--user-scripts/valgrind-notes.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/user-scripts/valgrind-notes.md b/user-scripts/valgrind-notes.md
new file mode 100644
index 0000000..1fa2e1d
--- /dev/null
+++ b/user-scripts/valgrind-notes.md
@@ -0,0 +1,9 @@
+In case you arrive at a segmentation fault when working on rose, you can use valgrind.
+
+To do this, you can compile rose with the `DEBUG` value in `build.sh` set to `-g`
+
+and then:
+
+```
+valgrind --track-origins=yes ./rose
+```