Skip to content

Define preconfigured profiles

Andrea Cardaci edited this page Apr 13, 2023 · 2 revisions

It may be convenient to define preconfigured profiles triggered by a GDB command, for example:

define my-source-profile
  dashboard -layout source expressions stack variables
  dashboard source -style height 20
end

define my-assembly-profile
  dashboard -layout registers assembly memory stack
end

Then use my-source-profile and my-assembly-profile to switch to the desired profile.