Skip to content

Decide when the dashboard should appear

Andrea Cardaci edited this page Dec 12, 2019 · 1 revision

By default the dashboard is displayed when the inferior program stops. It is possible to use the GDB hooks mechanism to trigger a dashboard display after certain commands.

For example, the following displays the dashboard after the stack frame is changed using the up, down or frame commands:

define hookpost-up
  dashboard
end

define hookpost-down
  dashboard
end

define hookpost-frame
  dashboard
end