[Harbour] Debugging c code

Xavi jarabal at gmail.com
Tue Feb 2 15:09:12 EST 2010


Hi,

Thank you Przemek. It's not so easy because these solutions don't work with C++ new operator.

Attache files ready for committed, I've taken care to preserve intact the largest existing code as possible.
Please, you can review especially in MT mode. I've tried it with success in a large multi-threaded application without conflict 
or deadlock but maybe I missed something and I don't know force the error.

I have two questions .-
hb_xinit() is not protected by mutex, I understand when there is just the start only exist the main process.
hb_threadReleaseCPU() in Windows is Sleep( 20 ), well ok but in other OS: let live to other thread?
Thanks again Przemek.

Please Viktor,

> Sorry, I still don't like it in its current form

What is do you dislike?
I've only explained to April how to do a particular solution in the case of having a C99 compiler.
IMHO this system gives much play in local/private applications.

Best regards,
Xavi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tracefm.zip
Type: application/zip
Size: 11464 bytes
Desc: not available
Url : http://lists.harbour-project.org/pipermail/harbour/attachments/20100202/6e799d1d/tracefm-0001.zip


More information about the Harbour mailing list