LebGeeks

A community for technology geeks in Lebanon.

You are not logged in.

#1 September 19 2015

hussam
Member

Gdb automation

Hi, what I do right now is:

gdb /usr/bin/app
set logging on
run

do something that triggers the crash.
type bt.

Is there any way to automate typing bt?
This would help in cases where the crashing app causes a frozen desktop.
Thank you.

Offline

#2 September 20 2015

Joe
Member

Re: Gdb automation

Not sure if that's what you're looking for, but I almost never run a debugger without first setting breakpoints.

Offline

Board footer