Hi,

I would like to know if there is a method for debugging network applications (on a simulator ?).
In fact, I am working on a application which uses the GPRS (and so the NetSocket.lib), that's
why I am forced to test it directly on the palm itself. The problem is that when I have a segfault or
other kind of errors, the palm resets itself (it is quite unpleasante to know where the bug is :S).

my solution : The idea I have is to replace the NetSocket lib by a fake lib which simulate network
transactions. So I will create a database which contains transmitted data and then when the read
socket function is called, just get data from the database.

What's about this idea ? Is there an ( better / quicker / already exists ) other solution
for debugging applications which use network ?

--
Patrick Guiran
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to