From ca59138a2aef96960381f986b8c683634e4d8e63 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 28 Mar 2023 11:18:54 -0600 Subject: tweak: move things around --- extra/user-scripts/valgrind-notes.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 extra/user-scripts/valgrind-notes.md (limited to 'extra/user-scripts/valgrind-notes.md') diff --git a/extra/user-scripts/valgrind-notes.md b/extra/user-scripts/valgrind-notes.md new file mode 100644 index 0000000..1fa2e1d --- /dev/null +++ b/extra/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 +``` -- cgit v1.2.3