Debug Quicker with Simics (video demo)

By Jakob Engblom

Engblom_lgLate last year, I presented a one-hour webinar on how Simics lets you “resolve bugs in minutes instead of weeks.” Part of that webinar were two Simics demos that show Simics in action, from the first booting of a target system through loading software onto it and debugging a nasty crash in a server program. The webinar demos are now available as a single Youtube movie, on the Wind River Youtube channel.

The target system used in the demo is a heterogeneous network of four machines. Two ARM-based and two PPC-based. Two of them are running a client application, and two are running a server application. They are all connected on the same virtual Ethernet network, and the client applications can talk to the server applications over the network.

Webinar-demo-setup

In the demo, we test how the server and client applications work when ported from PPC (where they originated) to ARM. All the possible combinations of client to server connections are tested, and in the process we make use of the key capabilities of Simics:

  • Network simulation
  • Checkpointing
  • Automated boot and setup of target systems
  • Scripted testing, automatically exploring all combinations of (ARM, PPC) and (client, server)
  • Repeatability (see also my previous blog posts here and here)
  • Bug transportation via checkpoints and scripting
  • Eclipse CDT debugger (with reverse)
  • Reverse execution
  • Reverse debugging, across the entire system of four machines
  • Synchronous system stop
  • Network traffic inspection, including feeding data to Wireshark

This demo uses the Simics Quick Start Platforms, showing how you can debug application software and resolve their bugs without needing a model of the complete target system. See my previous blog post for more on how you can use QSP to quickly get started reaping the benefits from virtual platforms and simulation.

If you want to see more about reverse execution and debugging with Simics, we have another demo movie available that also shows to debug with an integrated physics model.

You can go to the full seminar recorded here by Open Systems Media.

For additional information from Wind River, visit us on Facebook.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>