zanmato1984 opened a new issue, #45206: URL: https://github.com/apache/arrow/issues/45206
### Describe the enhancement requested It's a bit inconvenient when building/debugging C++ code with sanitizers, esp. working in an IDE like vscode. I either manually modify CMakePresets.json file to add a temporary preset and add sanitizer variables (and carefully avoid including this changes along with other intended changes), or change vscode setting by passing the sanitizer variables into cmake configuration process (but this will rebuild most of the source files because compiler flags have changed). And specifying sanitizer variables always involves at least three variables along: `ARROW_USE_XXSAN=ON` `ARROW_JEMALLOC=OFF` and `ARROW_MIMALLOC=OFF` (sanitizers generally don't work with 3rd-party allocators). We should consider adding cmake presets for such sanitizer builds. ### Component(s) C++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org