setting C++ breakpoints #6648
-
How do I build from source and generate .so file with debug symbols so I can set breakpoints in lldb or gdb? |
Beta Was this translation helpful? Give feedback.
Answered by
adityagoel4512
Jan 21, 2025
Replies: 1 comment 1 reply
-
You can set the environment variable |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cjm715
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set the environment variable
DEBUG=1
when building the project. This then sets theCMAKE_BUILD_TYPE
variable toDebug
(see https://github.com/onnx/onnx/blob/main/setup.py#L188).