From 7cbfeff707948784ace23053f561ada9a2c74dc8 Mon Sep 17 00:00:00 2001 From: Yulang Luo Date: Wed, 19 Jun 2024 21:47:38 -0400 Subject: [PATCH] [documentation] added how to debug build vpr documentation --- README.developers.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.developers.md b/README.developers.md index 83d745c4b56..71cd222f81d 100644 --- a/README.developers.md +++ b/README.developers.md @@ -1092,6 +1092,12 @@ All tests passed (1 assertion in 1 test case) # Debugging Aids VTR has support for several additional tools/features to aid debugging. +## Basic +To build vpr with make in debug mode, simply add `BUILD_TYPE=debug` at the end of your make command. +```shell +$ make vpr BUILD_TYPE=debug +``` + ## Sanitizers VTR can be compiled using *sanitizers* which will detect invalid memory accesses, memory leaks and undefined behaviour (supported by both GCC and LLVM): ```shell