Author Topic: The debugger only show the 30 call staks? How to extend it?  (Read 1171 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
The debugger only show the 30 call staks? How to extend it?
« on: December 25, 2023, 09:10:53 am »
Hi, when debugging under C::B, I have this issue.

I see the call stack window only shows 30 call stack levels, not the full call stack.

But sometimes, I would like to see more, how to do that?

For example, when hunting a bug I reported here: Maximize a floating wxAuiNotebook in the second monitor will occupy the entire screen, it should consider the Windows status bar Issue #24125 wxWidgets/wxWidgets

I got below 130+ call stack

Code
#0  wxBookCtrlBase::DoSize (this=0x2c27030) at E:\code\wxWidgets-3.2.4\src\common\bookctrl.cpp:191
#1  0x00007ffb0b7633b6 in wxBookCtrlBase::OnSize (this=0x2c27030, event=...) at E:\code\wxWidgets-3.2.4\src\common\bookctrl.cpp:262
#2  0x00007ffb0b503986 in wxAppConsoleBase::HandleEvent (this=0x264d160, handler=0x2c27030, func=(void (wxEvtHandler::*)(wxEvtHandler * const, wxEvent &)) 0x7ffb0b76337c <wxBookCtrlBase::OnSize(wxSizeEvent&)>, event=...) at E:\code\wxWidgets-3.2.4\src\common\appbase.cpp:661
#3  0x00007ffb0b503a07 in wxAppConsoleBase::CallEventHandler (this=0x264d160, handler=0x2c27030, functor=..., event=...) at E:\code\wxWidgets-3.2.4\src\common\appbase.cpp:673
#4  0x00007ffb0b5df87e in wxEvtHandler::ProcessEventIfMatchesId (entry=..., handler=0x2c27030, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1431
#5  0x00007ffb0b5de6bd in wxEventHashTable::HandleEvent (this=0x7ffb0c590380 <wxAuiNotebook::sm_eventHashTable>, event=..., self=0x2c27030) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1039
#6  0x00007ffb0b5dfd5c in wxEvtHandler::TryHereOnly (this=0x2c27030, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1628
#7  0x00007ffb0be3cf30 in wxEvtHandler::TryBeforeAndHere (this=0x2c27030, event=...) at E:\code\wxWidgets-3.2.4\include\wx\event.h:4007
#8  0x00007ffb0b5dfb13 in wxEvtHandler::ProcessEvent (this=0x2c27030, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1530
#9  0x00007ffb0b5dfc12 in wxEvtHandler::DoTryChain (this=0x2c27350, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1593
#10 0x00007ffb0b5dfba0 in wxEvtHandler::ProcessEventLocally (this=0x2c27350, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1561
#11 0x00007ffb0b5dfb25 in wxEvtHandler::ProcessEvent (this=0x2c27350, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1534
#12 0x00007ffb0b5dfe0b in wxEvtHandler::SafelyProcessEvent (this=0x2c27350, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1650
#13 0x00007ffb0b83de27 in wxWindowBase::HandleWindowEvent (this=0x2c27030, event=...) at E:\code\wxWidgets-3.2.4\src\common\wincmn.cpp:1553
#14 0x00007ffb0b6976db in wxWindow::HandleSize (this=0x2c27030, wParam=0) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:5796
#15 0x00007ffb0b68f99f in wxWindow::MSWHandleMessage (this=0x2c27030, result=0x5fade8, message=5, wParam=0, lParam=57476672) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:3027
#16 0x00007ffb0b691d26 in wxWindow::MSWWindowProc (this=0x2c27030, message=5, wParam=0, lParam=57476672) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:3906
#17 0x00007ffb0b68f65d in wxWndProc (hWnd=0x30b18, message=5, wParam=0, lParam=57476672) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2948
#18 0x00007ffb9d04e858 in USER32!CallWindowProcW () from C:\WINDOWS\System32\user32.dll
#19 0x00007ffb9d04de1b in USER32!SendMessageW () from C:\WINDOWS\System32\user32.dll
#20 0x00007ffb9d04cbc3 in USER32!GetWindowTextW () from C:\WINDOWS\System32\user32.dll
#21 0x00007ffb9d04c2af in USER32!IsIconic () from C:\WINDOWS\System32\user32.dll
#22 0x00007ffb96980929 in UxTheme!IsCompositionActive () from C:\WINDOWS\SYSTEM32\uxtheme.dll
#23 0x00007ffb96980311 in UxTheme!IsCompositionActive () from C:\WINDOWS\SYSTEM32\uxtheme.dll
#24 0x00007ffb9d04c7e3 in USER32!GetWindowTextW () from C:\WINDOWS\System32\user32.dll
#25 0x00007ffb0b68ec5d in wxWindow::MSWDefWindowProc (this=0x2c27030, nMsg=71, wParam=0, lParam=6273104) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2490
#26 0x00007ffb0b691d58 in wxWindow::MSWWindowProc (this=0x2c27030, message=71, wParam=0, lParam=6273104) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:3912
#27 0x00007ffb0b68f65d in wxWndProc (hWnd=0x30b18, message=71, wParam=0, lParam=6273104) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2948
#28 0x00007ffb9d04e858 in USER32!CallWindowProcW () from C:\WINDOWS\System32\user32.dll
#29 0x00007ffb9d04e3dc in USER32!DispatchMessageW () from C:\WINDOWS\System32\user32.dll
#30 0x00007ffb9d065cc0 in USER32!LookupIconIdFromDirectoryEx () from C:\WINDOWS\System32\user32.dll
#31 0x00007ffb9d390e64 in ntdll!KiUserCallbackDispatcher () from C:\WINDOWS\SYSTEM32\ntdll.dll
#32 0x00007ffb9b321be4 in win32u!NtUserMoveWindow () from C:\WINDOWS\System32\win32u.dll
#33 0x00007ffb0b68dd08 in wxWindow::MSWMoveWindowToAnyPosition (this=0x2c27030, hwnd=0x30b18, x=0, y=0, width=1600, height=877, bRepaint=true) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2076
#34 0x00007ffb0b68db71 in wxWindow::DoMoveSibling (this=0x2c27030, hwnd=0x30b18, x=0, y=0, width=1600, height=877) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2058
#35 0x00007ffb0b68df78 in wxWindow::DoMoveWindow (this=0x2c27030, x=0, y=0, width=1600, height=877) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2097
#36 0x00007ffb0b68e1f5 in wxWindow::DoSetSize (this=0x2c27030, x=0, y=0, width=1600, height=877, sizeFlags=36) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2191
#37 0x00007ffb0be4aeda in wxWindowBase::SetSize (this=0x2c27030, x=0, y=0, width=1600, height=877, sizeFlags=36) at E:\code\wxWidgets-3.2.4\include\wx\window.h:268
#38 0x00007ffb0b815cb5 in wxSizerItem::SetDimension (this=0x2c5f1c0, pos_=..., size_=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:689
#39 0x00007ffb0b81c820 in wxBoxSizer::RepositionChildren (this=0x2c5f110, minSize=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:2680
#40 0x00007ffb0b817bb8 in wxSizer::Layout (this=0x2c5f110) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:1191
#41 0x00007ffb0bf4361b in wxSizer::SetDimension (this=0x2c5f110, pos=..., size=...) at E:\code\wxWidgets-3.2.4\include\wx\sizer.h:720
#42 0x00007ffb0b815cd5 in wxSizerItem::SetDimension (this=0x2c5f3d0, pos_=..., size_=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:698
#43 0x00007ffb0b81c820 in wxBoxSizer::RepositionChildren (this=0x2c5f060, minSize=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:2680
#44 0x00007ffb0b817bb8 in wxSizer::Layout (this=0x2c5f060) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:1191
#45 0x00007ffb0bf4361b in wxSizer::SetDimension (this=0x2c5f060, pos=..., size=...) at E:\code\wxWidgets-3.2.4\include\wx\sizer.h:720
#46 0x00007ffb0b815cd5 in wxSizerItem::SetDimension (this=0x2c5f4c0, pos_=..., size_=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:698
#47 0x00007ffb0b81c820 in wxBoxSizer::RepositionChildren (this=0x2c5efb0, minSize=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:2680
#48 0x00007ffb0b817bb8 in wxSizer::Layout (this=0x2c5efb0) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:1191
#49 0x00007ffb0bf4361b in wxSizer::SetDimension (this=0x2c5efb0, pos=..., size=...) at E:\code\wxWidgets-3.2.4\include\wx\sizer.h:720
#50 0x00007ffb0b815cd5 in wxSizerItem::SetDimension (this=0x2c5f5b0, pos_=..., size_=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:698
#51 0x00007ffb0b81c820 in wxBoxSizer::RepositionChildren (this=0x2c204a0, minSize=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:2680
#52 0x00007ffb0b817bb8 in wxSizer::Layout (this=0x2c204a0) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:1191
#53 0x00007ffb0bf4361b in wxSizer::SetDimension (this=0x2c204a0, pos=..., size=...) at E:\code\wxWidgets-3.2.4\include\wx\sizer.h:720
#54 0x00007ffb0b815cd5 in wxSizerItem::SetDimension (this=0x2c5f710, pos_=..., size_=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:698
#55 0x00007ffb0b81c820 in wxBoxSizer::RepositionChildren (this=0x2c20550, minSize=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:2680
#56 0x00007ffb0b817bb8 in wxSizer::Layout (this=0x2c20550) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:1191
#57 0x00007ffb0bf4361b in wxSizer::SetDimension (this=0x2c20550, pos=..., size=...) at E:\code\wxWidgets-3.2.4\include\wx\sizer.h:720
#58 0x00007ffb0b815cd5 in wxSizerItem::SetDimension (this=0x2c5fe00, pos_=..., size_=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:698
#59 0x00007ffb0b81c820 in wxBoxSizer::RepositionChildren (this=0x2c20290, minSize=...) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:2680
#60 0x00007ffb0b817bb8 in wxSizer::Layout (this=0x2c20290) at E:\code\wxWidgets-3.2.4\src\common\sizer.cpp:1191
#61 0x00007ffb0bf4361b in wxSizer::SetDimension (this=0x2c20290, pos=..., size=...) at E:\code\wxWidgets-3.2.4\include\wx\sizer.h:720
#62 0x00007ffb0bf436b8 in wxSizer::SetDimension (this=0x2c20290, x=0, y=0, width=1600, height=877) at E:\code\wxWidgets-3.2.4\include\wx\sizer.h:727
#63 0x00007ffb0b840fa3 in wxWindowBase::Layout (this=0x2c1f810) at E:\code\wxWidgets-3.2.4\src\common\wincmn.cpp:2529
#64 0x00007ffb0b833494 in wxTopLevelWindowBase::Layout (this=0x2c1f810) at E:\code\wxWidgets-3.2.4\src\common\toplvcmn.cpp:431
#65 0x00007ffb0b9e3472 in wxAuiManager::DoFrameLayout (this=0x2c1fc20) at E:\code\wxWidgets-3.2.4\src\aui\framemanager.cpp:2715
#66 0x00007ffb0b9e75f7 in wxAuiManager::OnSize (this=0x2c1fc20, event=...) at E:\code\wxWidgets-3.2.4\src\aui\framemanager.cpp:3985
#67 0x00007ffb0b503986 in wxAppConsoleBase::HandleEvent (this=0x264d160, handler=0x2c1fc20, func=(void (wxEvtHandler::*)(wxEvtHandler * const, wxEvent &)) 0x7ffb0b9e75ce <wxAuiManager::OnSize(wxSizeEvent&)>, event=...) at E:\code\wxWidgets-3.2.4\src\common\appbase.cpp:661
#68 0x00007ffb0b503a07 in wxAppConsoleBase::CallEventHandler (this=0x264d160, handler=0x2c1fc20, functor=..., event=...) at E:\code\wxWidgets-3.2.4\src\common\appbase.cpp:673
#69 0x00007ffb0b5df87e in wxEvtHandler::ProcessEventIfMatchesId (entry=..., handler=0x2c1fc20, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1431
#70 0x00007ffb0b5de6bd in wxEventHashTable::HandleEvent (this=0x7ffb0c58fc20 <wxAuiManager::sm_eventHashTable>, event=..., self=0x2c1fc20) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1039
#71 0x00007ffb0b5dfd5c in wxEvtHandler::TryHereOnly (this=0x2c1fc20, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1628
#72 0x00007ffb0be3cf30 in wxEvtHandler::TryBeforeAndHere (this=0x2c1fc20, event=...) at E:\code\wxWidgets-3.2.4\include\wx\event.h:4007
#73 0x00007ffb0b5dfb8c in wxEvtHandler::ProcessEventLocally (this=0x2c1fc20, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1561
#74 0x00007ffb0b5dfb25 in wxEvtHandler::ProcessEvent (this=0x2c1fc20, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1534
#75 0x00007ffb0b5dfe0b in wxEvtHandler::SafelyProcessEvent (this=0x2c1fc20, event=...) at E:\code\wxWidgets-3.2.4\src\common\event.cpp:1650
#76 0x00007ffb0b83de27 in wxWindowBase::HandleWindowEvent (this=0x2c1f810, event=...) at E:\code\wxWidgets-3.2.4\src\common\wincmn.cpp:1553
#77 0x00007ffb0b6976db in wxWindow::HandleSize (this=0x2c1f810, wParam=2) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:5796
#78 0x00007ffb0b68f99f in wxWindow::MSWHandleMessage (this=0x2c1f810, result=0x5fe4a8, message=5, wParam=2, lParam=57476672) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:3027
#79 0x00007ffb0b691d26 in wxWindow::MSWWindowProc (this=0x2c1f810, message=5, wParam=2, lParam=57476672) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:3906
#80 0x00007ffb0b6669b3 in wxNonOwnedWindow::MSWWindowProc (this=0x2c1f810, message=5, wParam=2, lParam=57476672) at E:\code\wxWidgets-3.2.4\src\msw\nonownedwnd.cpp:262
#81 0x00007ffb0b681e15 in wxTopLevelWindowMSW::MSWWindowProc (this=0x2c1f810, message=5, wParam=2, lParam=57476672) at E:\code\wxWidgets-3.2.4\src\msw\toplevel.cpp:325
#82 0x00007ffb0b6edc5a in wxFrame::MSWWindowProc (this=0x2c1f810, message=5, wParam=2, lParam=57476672) at E:\code\wxWidgets-3.2.4\src\msw\frame.cpp:912
#83 0x00007ffb0b68f65d in wxWndProc (hWnd=0x20b34, message=5, wParam=2, lParam=57476672) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2948
#84 0x00007ffb9d04e858 in USER32!CallWindowProcW () from C:\WINDOWS\System32\user32.dll
#85 0x00007ffb9d04de1b in USER32!SendMessageW () from C:\WINDOWS\System32\user32.dll
#86 0x00007ffb9d04cbc3 in USER32!GetWindowTextW () from C:\WINDOWS\System32\user32.dll
#87 0x00007ffb9d04c2af in USER32!IsIconic () from C:\WINDOWS\System32\user32.dll
#88 0x00007ffb96980929 in UxTheme!IsCompositionActive () from C:\WINDOWS\SYSTEM32\uxtheme.dll
#89 0x00007ffb96980311 in UxTheme!IsCompositionActive () from C:\WINDOWS\SYSTEM32\uxtheme.dll
#90 0x00007ffb9d04c7e3 in USER32!GetWindowTextW () from C:\WINDOWS\System32\user32.dll
#91 0x00007ffb0b68ec5d in wxWindow::MSWDefWindowProc (this=0x2c1f810, nMsg=71, wParam=0, lParam=6287824) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2490
#92 0x00007ffb0b691d58 in wxWindow::MSWWindowProc (this=0x2c1f810, message=71, wParam=0, lParam=6287824) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:3912
#93 0x00007ffb0b6669b3 in wxNonOwnedWindow::MSWWindowProc (this=0x2c1f810, message=71, wParam=0, lParam=6287824) at E:\code\wxWidgets-3.2.4\src\msw\nonownedwnd.cpp:262
#94 0x00007ffb0b681e15 in wxTopLevelWindowMSW::MSWWindowProc (this=0x2c1f810, message=71, wParam=0, lParam=6287824) at E:\code\wxWidgets-3.2.4\src\msw\toplevel.cpp:325
#95 0x00007ffb0b6edc5a in wxFrame::MSWWindowProc (this=0x2c1f810, message=71, wParam=0, lParam=6287824) at E:\code\wxWidgets-3.2.4\src\msw\frame.cpp:912
#96 0x00007ffb0b68f65d in wxWndProc (hWnd=0x20b34, message=71, wParam=0, lParam=6287824) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2948
#97 0x00007ffb9d04e858 in USER32!CallWindowProcW () from C:\WINDOWS\System32\user32.dll
#98 0x00007ffb9d04e3dc in USER32!DispatchMessageW () from C:\WINDOWS\System32\user32.dll
#99 0x00007ffb9d065cc0 in USER32!LookupIconIdFromDirectoryEx () from C:\WINDOWS\System32\user32.dll
#100 0x00007ffb9d390e64 in ntdll!KiUserCallbackDispatcher () from C:\WINDOWS\SYSTEM32\ntdll.dll
#101 0x00007ffb9b321124 in win32u!NtUserMessageCall () from C:\WINDOWS\System32\win32u.dll
#102 0x00007ffb9d04caf5 in USER32!GetWindowTextW () from C:\WINDOWS\System32\user32.dll
#103 0x00007ffb9d04c2af in USER32!IsIconic () from C:\WINDOWS\System32\user32.dll
#104 0x00007ffb9697e7c2 in UxTheme!GetUserColorPreference () from C:\WINDOWS\SYSTEM32\uxtheme.dll
#105 0x00007ffb96977162 in UxTheme!GetThemePosition () from C:\WINDOWS\SYSTEM32\uxtheme.dll
#106 0x00007ffb969808a9 in UxTheme!IsCompositionActive () from C:\WINDOWS\SYSTEM32\uxtheme.dll
#107 0x00007ffb96980311 in UxTheme!IsCompositionActive () from C:\WINDOWS\SYSTEM32\uxtheme.dll
#108 0x00007ffb9d04c7e3 in USER32!GetWindowTextW () from C:\WINDOWS\System32\user32.dll
#109 0x00007ffb0b68ec5d in wxWindow::MSWDefWindowProc (this=0x2c1f810, nMsg=274, wParam=61488, lParam=11533330) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2490
#110 0x00007ffb0b691d58 in wxWindow::MSWWindowProc (this=0x2c1f810, message=274, wParam=61488, lParam=11533330) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:3912
#111 0x00007ffb0b6669b3 in wxNonOwnedWindow::MSWWindowProc (this=0x2c1f810, message=274, wParam=61488, lParam=11533330) at E:\code\wxWidgets-3.2.4\src\msw\nonownedwnd.cpp:262
#112 0x00007ffb0b681e15 in wxTopLevelWindowMSW::MSWWindowProc (this=0x2c1f810, message=274, wParam=61488, lParam=11533330) at E:\code\wxWidgets-3.2.4\src\msw\toplevel.cpp:325
#113 0x00007ffb0b6edc5a in wxFrame::MSWWindowProc (this=0x2c1f810, message=274, wParam=61488, lParam=11533330) at E:\code\wxWidgets-3.2.4\src\msw\frame.cpp:912
#114 0x00007ffb0b68f65d in wxWndProc (hWnd=0x20b34, message=274, wParam=61488, lParam=11533330) at E:\code\wxWidgets-3.2.4\src\msw\window.cpp:2948
#115 0x00007ffb9d04e858 in USER32!CallWindowProcW () from C:\WINDOWS\System32\user32.dll
#116 0x00007ffb9d04e299 in USER32!DispatchMessageW () from C:\WINDOWS\System32\user32.dll
#117 0x00007ffb0b6b6bd3 in wxGUIEventLoop::ProcessMessage (this=0x2c26d90, msg=0x5ffb80) at E:\code\wxWidgets-3.2.4\src\msw\evtloop.cpp:164
#118 0x00007ffb0b6b6e9b in wxGUIEventLoop::Dispatch (this=0x2c26d90) at E:\code\wxWidgets-3.2.4\src\msw\evtloop.cpp:224
#119 0x00007ffb0b526bc6 in wxEventLoopManual::ProcessEvents (this=0x2c26d90) at E:\code\wxWidgets-3.2.4\src\common\evtloopcmn.cpp:234
#120 0x00007ffb0b526cb4 in wxEventLoopManual::DoRun (this=0x2c26d90) at E:\code\wxWidgets-3.2.4\src\common\evtloopcmn.cpp:288
#121 0x00007ffb0b526753 in wxEventLoopBase::Run (this=0x2c26d90) at E:\code\wxWidgets-3.2.4\src\common\evtloopcmn.cpp:87
#122 0x00007ffb0b502e75 in wxAppConsoleBase::MainLoop (this=0x264d160) at E:\code\wxWidgets-3.2.4\src\common\appbase.cpp:381
#123 0x00007ffb0b502bad in wxAppConsoleBase::OnRun (this=0x264d160) at E:\code\wxWidgets-3.2.4\src\common\appbase.cpp:303
#124 0x00007ffb0b75d16b in wxAppBase::OnRun (this=0x264d160) at E:\code\wxWidgets-3.2.4\src\common\appcmn.cpp:334
#125 0x00007ffb0b5512f8 in wxEntryReal (argc=@0x7ffb0c5506b0: 1, argv=0xa7420) at E:\code\wxWidgets-3.2.4\src\common\init.cpp:497
#126 0x00007ffb0b5e8980 in wxEntry (argc=@0x7ffb0c5506b0: 1, argv=0xa7420) at E:\code\wxWidgets-3.2.4\src\msw\main.cpp:184
#127 0x00007ffb0b5e8b74 in wxEntry (hInstance=0x7ff773a00000, nCmdShow=10) at E:\code\wxWidgets-3.2.4\src\msw\main.cpp:344
#128 0x00007ff773a014de in WinMain (hInstance=0x7ff773a00000, hPrevInstance=0x0, lpCmdLine=0xa3d04 "", nCmdShow=10) at F:\code\cb_projects_for_wxWidgets\samples\aui\auidemo.cpp:267
#129 0x00007ff773a37591 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexewin.c:67
#130 0x00007ff773a012ee in __tmainCRTStartup () at C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:267
#131 0x00007ff773a01406 in mainCRTStartup () at C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:188


Our debugger plugin send the "bt 30" command. Maybe, the "30" can be configured?

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: The debugger only show the 30 call staks? How to extend it?
« Reply #1 on: December 25, 2023, 09:20:44 am »
"src\plugins\debuggergdb\gdb_commands.h" has
Code
m_Cmd << _T("bt 30");
in it.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org