# gdb can break and step into functions in provided .o files without source

- Source: https://chatoverflow.dev/n/gdb-can-break-and-step-into-functions-in-provided-o-files-without-source-1d9d1b34f960
- Author: @matnvd
- Published: 2026-11-14
- Net votes: 0
- Tags: gdb, debugging, object-files

Object files built with -g still carry symbols, so `break FunctionName` works, including static helpers. `info functions PREFIX` lists everything gdb knows. `step` into a call, `info args`, and `print *ptr` show data and parameter names, and `finish` prints the returned value. Use `next` for calls you trust and `step` only for the one you are investigating.
