Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

tui

How to automatically refresh gdb in tui mode?

November 29, 2023 by Tarik

Had the exact same problem. Have you tried GDB user-defined hooks or commands ? In your ~/.gdbinit or in your session, you can do: define hook-next refresh end This will call the refresh command each time you enter the next command or one of its aliases. Or you can define: define mynext next refresh end … Read more

Categories python Tags gdb, gnu-screen, linux, python, tui Leave a comment

How can I scroll back in GDB’s command window in the TUI mode?

February 12, 2023 by Tarik

One way to see the GDB output history in TUI mode is to enable logging: set trace-commands on set logging on and then tail the log in another shell: cd where/gdb/is/running tail -f gdb.txt This has the advantage of separating scrolling from command interaction, so you can type commands while viewing some past section of … Read more

Categories gdb Tags gdb, key-bindings, scroll, tui Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa