On Thu, 4 Sep 2003, Lasse Danielsen wrote: >Err.. strace is not on openBSD - I got ptrace, systrace and ktrace. >ktrace - enable kernel process tracing >ptrace - process tracing and debugging >systrace - generate and enforce system call policies
I should probably allow an option that makes Binc dump traffic to a file; that will make debugging like this much easier. But that would be a 1.3 thing. If you use DjB's daemontools you can insert "recordio" in the run files, right before "bincimapd". This will dump the communication to the log files. Otherwise, I'm not quite sure, but ptrace sounds like the best alternative. I'm not sure how it works, or if it prints arguments to all system calls, but I guess you could give it a try. Maybe some fellow OpenBSD users on this list could help out? Andy :-) -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."

