Resources | Resources |



Debugging Technology Guide

Debugging Technology Guide for Manufacturers for Developers

Base version:

Brew MP 1.0.2

Tested version:

Brew MP 1.0.2

Document number:

HT80-VT500-221 Rev B

HT80-VT500-222 Rev B

Date published:

May 23, 2012

The Debugging Technology Guide provides information on the following:

  • Heap debugging tools available in Brew MP
  • Memory debugging with Trace32
  • Debugging using Heap1Wrapper
  • Debugging random memory corruption
  • Resolving memory leaks
  • Resolving interface leaks

Sample code

The memtests sample code is available on the Brew MP website with this guide and provides a way to produce the following types of memory errors:

  • Buffer overrun or underrun
  • Freeing a memory node more than once
  • Writing to freed memory
  • Large malloc
  • Malloc memory leak
  • Interface leak

ZIP filename


Run app

Brew MP Resources

  • Download and extract the ZIP file.

  • Compile the extension.

  • Compile the app.

  • Run it on the Simulator.