A better way to output debug information (OS X to Windows XP)
I did some snooping into my UDP problem on OS X and found that the problem was not MONO, my code, or OS X, but rather the fact that the Windows XP firewall was turned on preventing the machine I was sending packets to from receiving them. Now I’m sure I’ve turned this off more that once. At any rate, UDP communication between Mac OS X and Windows XP seems to work fine using MONO.
My plan at present is to send all debug output from my MONO .NET application running on OS X to a Windows box using UDP (udpclient class). I then receive the UDP traffic on the Windows XP box using a .NET service and debug out the information.
Ultimately I view the WindowsDebugOutput using DebugView a freeware program from SysInternals (http://www.sysinternals.com/utilities/debugview.html)
This whole process may seem convoluted, but it is also reliable and I’m going to need to debug out a lot of information if I’m going to successfully get this application moved from Windows to Mac.
So far the only problem I’ve encountered with MONO is that using the TextBox control causes my application to crash. All-in-all the MONO team has done a great job.
-d

0 Comments:
Post a Comment
<< Home