# Debugging many rabbits

**URL:** <https://forums.digi.com/t/debugging-many-rabbits/10751>\
**Category:** Rabbit\
**Created:** [March 1, 2007, 5:37pm UTC](https://forums.digi.com/t/debugging-many-rabbits/10751 "2007-03-01T17:37:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephb](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@stephb](https://forums.digi.com/u/stephb)\
**Post date:** [March 1, 2007, 5:37pm UTC](https://forums.digi.com/t/debugging-many-rabbits/10751/1 "2007-03-01T17:37:17Z")

</div>

Hey everyone:

I am working on a project where I have several 4000’s talking to each other. I am looking for tips & tricks on how to debug multiple rabbits at the same time. It seems like I cannot get multiple copies of DC to run concurrently listening to different serial ports.

The goal is to be able to debug 3 rabbits at the same time.

Thanks for nay help.

---

<div class="post-metadata">

**Author:** ![tgarcia](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@tgarcia](https://forums.digi.com/u/tgarcia)\
**Post date:** [March 1, 2007, 9:09pm UTC](https://forums.digi.com/t/debugging-many-rabbits/10751/2 "2007-03-01T21:09:22Z")

</div>

Take a look at the sample program stdio\_serial.c, which is located in the Dynamic C samples directory. It demonstrates how to redirect stdio functionality out a serial port. This will allow you to use Hyperterminal, TeraTerm, or any other serial terminal to send/receive debugging information at runtime without Dynamic C.

---

<div class="post-metadata">

**Author:** ![stephb](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@stephb](https://forums.digi.com/u/stephb)\
**Post date:** [March 1, 2007, 9:52pm UTC](https://forums.digi.com/t/debugging-many-rabbits/10751/3 "2007-03-01T21:52:49Z")

</div>

Thanks tgarcia…

I had not thought about it this way, but this may get me enough to start. I was looking for the real DC debugger to be able to step through the code on 2 or more RCM4000.

I will try this first. Much appreciated…

---

<div class="post-metadata">

**Author:** ![IWriteCode](https://avatars.discourse-cdn.com/v4/letter/i/4491bb/32.png) [@IWriteCode](https://forums.digi.com/u/IWriteCode)\
**Post date:** [March 2, 2007, 12:54am UTC](https://forums.digi.com/t/debugging-many-rabbits/10751/4 "2007-03-02T00:54:11Z")

</div>

Scott from [http://www.shdesigns.org/](http://www.shdesigns.org/) has made a library which allows rabbits to send their debug info using an udp socket. This way info can be gather at a central pc from all rabbits in the network:

[http://www.shdesigns.org/rabbit/udpdebug.shtml](http://www.shdesigns.org/rabbit/udpdebug.shtml)

Also a lot of other interesting things over there, check it out!

---

<div class="post-metadata">

**Author:** ![stephb](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@stephb](https://forums.digi.com/u/stephb)\
**Post date:** [March 2, 2007, 12:57am UTC](https://forums.digi.com/t/debugging-many-rabbits/10751/5 "2007-03-02T00:57:10Z")

</div>

I will check it out. UDP won’t help me much since the modules I am debugging do not have the ethernet ports…
