Trace/Step doesn't work fine?

Jun 24, 2006 at 10:07am

Trace/Step doesn't work fine?

Hi list,

This might be discussed before but I can’t find it….

My problem is:
The blinking patch cord and the information in Max window are not
displayed when I trace/step the patch that has metro object.
For example: toggle -> metro -> counter -> numberbox

I can trace/step well with the patch that has no metro.
For example: button -> counter -> numberbox

My environment is MaxMSP 4.5.7, Jitter 1.5.2, Mac OS X 10.4.6.

Thank you for you advices.

Masayuki Akamatsu

p.s. Please check it as below.

max v2;
#N vpatcher 396 75 996 475;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 199 42 100 196617 I CAN’T trace it;
#P number 200 162 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter;
#X flags 0 0;
#P newobj 200 126 66 196617 counter;
#P newex 200 93 64 196617 metro 1000;
#P toggle 200 62 15 0;
#P number 67 162 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter;
#X flags 0 0;
#P newobj 67 126 66 196617 counter;
#P button 67 62 15 0;
#P comment 67 42 100 196617 I can trace it;
#P connect 1 0 2 0;
#P connect 2 0 3 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 7 0;
#P pop;

#26543
Jun 24, 2006 at 10:52am

On 24-Jun-2006, at 12:07, Masayuki Akamatsu wrote:
> The blinking patch cord and the information in Max window are not
> displayed when I trace/step the patch that has metro object.
> For example: toggle -> metro -> counter -> numberbox
>
> I can trace/step well with the patch that has no metro.
> For example: button -> counter -> numberbox

Your second approach is more appropriate for trace.

Normally metro will send bangs far faster than you can trace through
all the messages triggered by a single bang. This may confuse the
scheduler. Or maybe not, but it sure has confused me when trying to
debug a patch. So I put a button next to my metro, connect it to the
same object[s], use that for tracing. Once I’m sure the patch is
correct, I remove the button and use the metro.

Hope this helps,
Peter

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +—> Litter Power & Litter Bundle for Jitter
Heavy-Duty Mathematics for Everyday Use
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de

#79542

You must be logged in to reply to this topic.