How to debug (gdb) a binary that is invoked with xvfb-run?
0
votes
1
answer
244
views
I have a binary that I usually run as follows:
$ xvfb-run ./bin --param1 foo
However, now that I need to debug it using GDB, I'm not able to do:
$ gdb --args xvfb-run ./bin --param1 foo
because "/usr/bin/xvfb-run": not in executable format: file format not recognized.
Is there a way to do this? For example, by using **Xvfb**?
TIA!
Asked by albertoperdomo2
(315 rep)
Jun 12, 2023, 08:07 AM
Last activity: Jun 12, 2023, 08:31 AM
Last activity: Jun 12, 2023, 08:31 AM