//mgd June 27, 2001 >>>>> "DK" == Daniel Kottow writes: DK> IOW, shouldnt it be possible not to have any ivars in the probemap? Yes, it's fixed in today's snapshot. ftp://ftp.swarm.org/pub/swarm/src/testing/swarm-2001-05-08.tar.gz Here's a test case: #import // initSwarm #import // CREATE_PROBE_DISPLAY #import #import // CustomProbeMap @interface MyClass: SwarmObject { } - (void)method1: (unsigned)val; - (void)method2: (unsigned)val; @end @implementation MyClass - (void)method1: (unsigned)val { printf ("method1: %u\n", val); } - (void)method2: (unsigned)val { printf ("method2: %u\n", val); } @end int main (int argc, const char **argv) { initSwarm (argc, argv); { id obj = [MyClass create: globalZone]; Class class = [obj getClass]; id probeMap = [CustomProbeMap create: globalZone forClass: class withIdentifiers: ":", "method1:", "method2:", NULL]; [probeLibrary setProbeMap: probeMap For: class]; CREATE_PROBE_DISPLAY (obj); while (1) { while (GUI_EVENT_ASYNC ()) {} } } } /* Local Variables: compile-command: "$SWARMHOME/bin/libtool-swarm --mode=link gcc -D_GNU_SOURCE -o TestCustomProbeMap -g -Wno-import -I$SWARMHOME/include/swarm -L$SWARMHOME/lib/swarm TestCustomProbeMap.m -lswarm -lobjc" End: */