Date: Fri, 25 Jun 1999 18:52:50 +0800 From: miaobo@mail.zhongxing.com To: hackers@freebsd.org Subject: How to debug message passing based multiprogramming program? Message-ID: <4825679B.00396FA6.00@mail.zhongxing.com>
next in thread | raw e-mail | index | archive | help
Hi Hackers! I am not a professional programmer as you are or I know much about debug skills. But here I have a large multiprogramming program that I need to hack into. The program can be divided into several functional modules and a "kernel" module which handles all messages needed for every functinal module. When one functinal module need to communicate with other modules, it first send messages(with or without format) to "kernel" and then "kerenl" will handle the message, deliver it to its destination. The "kernel" also maintain a message queue for simultaneously coming messages. The "kernel" is built up on a real time scheduled multi-tasking OS with system calls support. It is trasparent to the functional modules. Now the problem is, I need to test all functional modules to see if they can process messages deserved to them correctly. What can I do? I can't trace the activities of them because they only be executed when the message comes and "kernel" call them. This mechanism is very different as of the IPC operation on UNIX. Can you give some advice? I am sorry this may not the right place for ask my question but I don't know better ones. Thanks for reading this. miaobo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4825679B.00396FA6.00>