hpx icon indicating copy to clipboard operation
hpx copied to clipboard

Missing docs: How to debug HPX applications

Open sithhell opened this issue 8 years ago • 5 comments

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 avatar Feb 17 '17 08:02 sithhell

@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 setting HPX_WITH_STACKOVERFLOW_DETECTION=OFF?

msimberg avatar Nov 21 '17 09:11 msimberg

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 .

sithhell avatar Nov 21 '17 19:11 sithhell

@parsa

aserio avatar Nov 21 '17 19:11 aserio

Btw, I started this over here. I'll try to add a section on --hpx:attach-debugger soonish.

msimberg avatar Oct 25 '18 17:10 msimberg

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.

stale[bot] avatar Jul 04 '19 06:07 stale[bot]