Re: debugging OTMP
Re: debugging OTMP
- Subject: Re: debugging OTMP
- From: Quinn <email@hidden>
- Date: Thu, 13 Jun 2002 10:36:14 +0100
At 10:31 +0200 13/6/02, Miklss Fazekas wrote:
I'm using OTMP to implement FTP library on MacOSX and OS-9. On X everything
works fine. On OS-9 smaller tests passes. But a longer test doing multifile
upload causes an assert in MoreBlueActions.
How should i start debugging this problem on MacOS-9?
To start you should look at what the assert is. It's probably
something meaningful.
Next, you might be able to debug this stuff with the CW debugger in
recent versions of CW. I've had more success with this if I remove
MacsBug beforehand.
You can also turn on logging in OTMP, which is how I debugged the
really gnarly issues I found.
Finally, if you suspect a high-level problem you can switch OTMP over
to running at system task time (see the comments near
InstallOTMPMainThreadYielder in "OTMP.h"), which will make debugging
a lot easier (but may mask the problem).
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.