Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display the code window when debugging by GDB

Tags:

linux

gdb

Can anyone tell me which command is used to display the source code when debugging through GDB. Would be of great help.

like image 552
Sarwan Avatar asked Oct 09 '13 06:10

Sarwan


1 Answers

You can enter or leave the TUI mode with code window using Ctrl+x A key binding. Or use layout src command to enter TUI mode. See other TUI key bindings and commands.

like image 145
ks1322 Avatar answered Oct 13 '22 13:10

ks1322