memory

Debugger: Editing Memory

Blog post by anevilyak on Wed, 2015-05-27 03:33

As those who make regular use of it probably already know, one of the features of Haiku's integrated debugger is the ability to inspect the contents of arbitrary (mapped) locations in the target team's address space. This can be handy in various instances, such as when trying to track down bugs that are likely due to a piece of code overwriting part of another data structure, since the data that's been written to memory might contain some pattern or even a familiar string that might hint at the culprit.

Using malloc_debug to Find Memory Related Bugs

Blog post by mmlr on Mon, 2010-02-08 01:17

There's plenty of ways to introduce subtle bugs into your code that give you a hard time finding and fixing. In this post I'd like to introduce you to malloc_debug, a heap implementation with added debug helpers, and outline how it can be used to find some of these problems.

Syndicate content