Menu

#1603 CallStack Debug Window default size issue

Undefined
invalid
pecan
None
Bug_Report
2 days ago
2026-05-26
Tiger Beard
No

Problem: An opened CallStack debug window is too small to show anything useful. Mouse action required each time, because it does not remember any changes.

Tested in Linux, build 13845 (close to head at this time). The problem exists for a very long time (years)

How to reproduce.

  • Ensure debug view has MemoryDump and CallStack windows docked right hand side. Close both windows.
  • Start a program in Debug. CB switchtes to Debug view. Both debug windows are not visible.
  • Select ToolbarIcon DebugWindow/MemoryDump. A docked window opens. Note window width.
  • Close MemoryDump again
  • Now DebugWindow/CallStack. A docked window opens. Note different width to Memory window. Note that no function names are visible, just addresses and numbering. Resize until you can read function call order.
  • Close CallStack and directyl open it again. Observe that I had its last size for a fraction of a second and then jumps back to its (too small) default size. Resize my mouse again to see function call order.
  • Repeat last step as desired

Generally all debug windows do not persist size consistently. But its worst for the CallStack, because its default is really unusable. Others, e.g the MemoryDump window have a good default size. Also in 20+ years using CB I never found a reason why I would want to see "Nr" and "Address" columns. imho best

Possible Solutions

  • all DebugWindows remember their last size
    or
  • CallStack remembers its size
    or
  • CallStack table columns remembers their size/they can be enabled/disabled
    or
  • Callstack window default size is increased such that "Function" column is visible

PS: Ino: why I open/close CallStack very often:

  • Debugging perfromance is slowed down noticeably (even on modern 16 core cpu!), at least with large projects
  • Linux/gdb: CB bug that CallStack does not update on halt before first breakpoint. It does update after close/re-open. Typical use case: find out where crash happened
  • takes valuable screen estate

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2026-05-26

    Works fine on Windows. Are you using Wayland?

    If yes, can you try at least [r13848] or start C::B from console using "GDK_BACKEND=x11 codeblocks"?

     

    Related

    Commit: [r13848]

  • Tiger Beard

    Tiger Beard - 2026-05-26

    Wouldn't have thought this is Liunx specific.

    No, I my distro is non-wayland, can't be that.

     
  • Miguel Gimenez

    Miguel Gimenez - 2026-05-26

    I have rechecked on Windows and it also fails.

     
  • Tiger Beard

    Tiger Beard - 2026-05-26

    Thats actually good news for AUI.

     
  • Tiger Beard

    Tiger Beard - 2026-05-26

    PS: I must admit that this issue is disturbing my workflow for years, currently many times a day. But not bad enough put another ticket on the pile.

    Since I guessed you might have a look at it, just the prosepect of a chance for an improvement, is great. Whatever change you may come up with it will make the flow much nicer.

    A bit like the ThreadSearch a few years ago where you simplified an idea to just re-start the last search on an empty text field. Simple change, great impact. Every time I use that its with a smile remembering that.

     
  • pecan

    pecan - 2026-07-27

    Have you tried :
    1: open CB and set the stack window position and size the way you want it.

    1. In main menu, select View/perspective/save/save current.
      3.Close CB. (this is essential since the .conf is saved on close)

    Reopen CB, The stack windows should be as you saved it.
    This works for me on current Head and for years.

    Also do the same for any other perspective you may have. For example the GDB debugger perspective, the GDB/mi perspective etc.

     
  • pecan

    pecan - 2 days ago

    Could not recreate the OP description. Using perspectives work ok. Reposition, resize the window, save the perspective, and the position and resize work when re-selecting the saved perspective.

     
  • pecan

    pecan - 2 days ago
    • status: open --> invalid
    • assigned_to: pecan
     

Log in to post a comment.