anevilyak's blog

Debugger: Step 1: Edit variable, Step 2: ..., Step 3: Profit!

Blog post by anevilyak on Sat, 2015-07-25 04:16

In a previous blog post, I had described the newly added ability to edit raw memory. While this makes a number of things possible that otherwise wouldn't be, it generally isn't the most convenient approach for the more general case one runs into over the course of debugging. As of hrev49449, some new enhancements have been introduced that should make life much simpler in many cases.

Debugger: Getting mixed signals

Blog post by anevilyak on Sat, 2015-07-11 03:37

As an operating system that implements the POSIX specification, Haiku includes support for signals, and the requisite API calls for an application to decide how it will handle them. While these aren't really used by the Be API in any meaningful way, they do frequently come into play for ported applications and libraries. Up until now, however, our debugger has lacked support for them, which could make debugging situations involving signals a less than convenient affair if one didn't already know what to look for. As of hrev49356, this has been rectified.

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.

'Tis the season for debugging

Blog post by anevilyak on Mon, 2014-12-15 14:05

Since the last time, I've put a bit more work into improving the expression evaluator that was started as part of the sprint. Since some of its new capabilities are likely to be useful to others, and might not necessarily be obvious from simply reading the commit list, I thought I'd elaborate on them a bit here.

Code Sprint 2014: Debugger

Blog post by anevilyak on Fri, 2014-10-31 02:11

While I was unable to actually attend Begeistert this time around, I was nonetheless able to take some time off work to join in on the traditional during/post-BG code sprint. As per usual, this revolved around improving our integrated debugger.

Debugger: Four Trapped Dwarves

Blog post by anevilyak on Mon, 2013-07-22 13:14

This time around, we only have one or two new features to cover as such, since most of my time recently has been spent under the hood.

Debugger: Odds and Ends

Blog post by anevilyak on Sun, 2013-06-16 17:29
Some time has passed since my last post on the subject, and I keep finding time to work on it, so I thought another update on Debugger progress might be of interest. Most of the features added since my previous post are fairly minor, but should hopefully be interesting/useful nonetheless.
Syndicate content