Uri,

> I skimmed the HPX manual and paper but didn't see any mention of support
> for debug. Is there any easy way to attach a debugger in an HPX
> application to reproduce a problem? 

An HPX application is just another executable launched once per HPX locality on 
one of the nodes. Thus the same rules/possibilities apply as for any other 
distributed application. Use whatever debugger you're comfortable with.

We have recently started to work on extending gdb with HPX specific things 
(pretty printers, thread management, etc.) but this is in early alpha. Parsa 
Amini is the developer here, I will make sure he responds separately.

HPX itself has a command line option --hpx:attach-debugger=[startup|exception] 
allowing to stop the process in either at startup or in case of an unhandled 
exception. This might be useful to get gdb attached to a life application.

> Is there any support for logging
> messages so that a process can be replayed later without bringing up the
> whole system?

The command line option --hpx:debug-hpx-log=<file> enables logging. While this 
is very verbose it will probably not be sufficient to 'fully replay' all of the 
activity post-mortem.

HTH
Regards Hartmut
---------------
http://boost-spirit.com
http://stellar.cct.lsu.edu



_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to