I am using screen utility on my linux machine. I am trying to debug the code using gdb so to display code i am using [ctrl+x ctrl+a]. But nothing is displaying. When I try to do same without screen, I am able to see code window.
You can use (gdb) layout src
. This is another way to enable TUI mode with source code window besides using key binding [ctrl+x ctrl+a]. See documentation.