hpx
hpx copied to clipboard
Missing docs: How to debug HPX applications
We need to better document how to debug HPX applications:
- [x] Document the usage of #2479
- [ ] Document how to use --hpx:attach-debugger
- [x] Document the usage of sanitizers
@sithhell
- For --hpx:attach-debugger, I suppose you'd want something more than the help text that is printed at startup/exception by hpx?
- For the usage of sanitizers, would it be enough to add a short text advising to add
-fno-omit-stack-pointer
and settingHPX_WITH_STACKOVERFLOW_DETECTION=OFF
?
Am 21.11.2017 10:46 vorm. schrieb "Mikael Simberg" <[email protected]
:
@sithhell https://github.com/sithhell
- For --hpx:attach-debugger, I suppose you'd want something more than the help text that is printed at startup/exception by hpx?
Yes, like how to spot the thread that the exception.
- For the usage of sanitizers, would it be enough to add a short text advising to add -fno-omit-stack-pointer and setting HPX_WITH_STACKOVERFLOW_DETECTION=OFF?
Yes, and HPX_WITH_SANITIZERS=On
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/STEllAR-GROUP/hpx/issues/2507#issuecomment-345972330, or mute the thread https://github.com/notifications/unsubscribe-auth/AADRlxPwnj26WvXZcB1Io4dbzW1xocWJks5s4pv2gaJpZM4MD_vk .
@parsa
Btw, I started this over here. I'll try to add a section on --hpx:attach-debugger
soonish.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.