[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] dumpOSC broken?



Here is my hacked version.

BTW, I found it quite nice to turn debugging on/off by swapping out the server's addr. No need to reboot!

(
~saveaddr = s.addr;
~debugaddr = DebugNetAddr("127.0.0.1", 57110);
~debugaddr.makeDocument;
)

// run this to start debugging
s.addr = ~debugaddr;

// run this to turn it off
s.addr = ~saveaddr;


hjh

On Dec 14, 2009, at 4:37 PM, James Harkins wrote:

On Mon, Dec 14, 2009 at 4:28 PM, Julian Rohrhuber <rohrhuber@xxxxxxxxxxxxxx> wrote:
Perhaps I was still happy on PPC, now I have a glitchy intel.. This is bad news - for debugging this was important. we should add a flag to Server or NetAddr thet replicates this for now perhaps?

I think you're the author of DebugNetAddr on the wiki? I have a slightly hacked up version that posts more info about thread time and also gets rid of the ghastly random background colors, and use it often.

Attachment: DebugNetAddr.sc
Description: Binary data



: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman