Home / Educational Content / Database & Technology / Oracle Database / Profiling a Process Using GDB, the GNU Debugger

Profiling a Process Using GDB, the GNU Debugger

Sometimes you need to dig deeper than Oracle allows you to see. This can be in the case of internal errors (ORA-600/ORA-7445), but also if you want to truly understand what is going on. This is where GDB, the GNU debugger comes in. With GDB, you can profile the Oracle executable at the C-function level. As with anything, digging deeper comes at a cost. In order to use GDB you have to understand how a C is executed and program works in Linux.
This is where this session is about: to give the attendee a brief introduction into how C/C++ programs work, and why GDB can be used, despite debugging symbols (what makes debugging happening) not being available for the Oracle executable, and give some basic recipes to certain use cases.

Read the full whitepaper

Premium Content: access is limited to Quest Corporate and Professional members.

Membership has its perks. Get unlimited access to the latest Oracle updates, event session replays, strategic content centers and special members-only programming, plus big discounts on conference registration, with a Quest Corporate or Professional membership. Quest is where you learn.

Profiling a Process Using GDB, the GNU Debugger