Chris Quenelle is a tools developer at Oracle Corp. He's worked on performance and debugging tools at Sun and Oracle for over 15 years. He reads comic books and science fiction,and has more tivos than he can keep track of.

 

February 2012
SMTWTFS
«Jan  
 1234
567891011
12131415161718
19202122232425
26272829 

debug info in XML,and DSD 2.0

I’ve been working in my spare time on the idea of converting dwarf debugging information into XML so that I can format it as XHTML using a stylesheet,and so I can check it using a Schema of some sort. When I started fiddling today I assumed that using a DTD was the way to [...]

simple umem integration with dbx

The mdb debugger has some really nifty integration with libumem,as documented in this technical article,and Adam Leventhal’s famous Top 20 Blog.

I got a request recently asking if dbx had similar features. I think the engineer who asked was already familiar with the memory checking features dbx has (Run Time Checking),but the [...]

Stabs versus dwarf

Stabs versus dwarf

The Sun compilers are currently undergoing a transition from stabs to dwarf. It sounds like the kind of undertaking where a +2 longsword might come in handy,but no. Leave your +2 sword in your three ring binder,and fire up your Sun Studio compilers to see what I’m talking about.

Stabs [...]

Pretty printing C++ types with dbx

Since Lawrence doesn’t work at Sun any more,I’ll swipe a blog entry of his to make sure it stays available.

A tip from Lawrence Crowl:

One of the problems with debugging C++ programs is that they have many user-defined types. The debugger typically does not know anything about those types,and so cannot provide [...]

See more source in dbx

Okay,so you use dbx from the command line. When dbx stops at a breakpoint,it tells you the source line where you stopped. Well that’s nice. But it’s usually not enough context to know where you really are. You’d like to see more of the source. You can use the ‘list’command to show [...]