RetroDebugger icon indicating copy to clipboard operation
RetroDebugger copied to clipboard

Shows up "Assertion failed!" dialog upon start

Open maciejmalecki opened this issue 2 years ago • 3 comments

Describe the bug After I have rearanged the layout of the app (I moved C64 CPU status to the very top of the screen), I no longer can run RetroDebugger without this error (see screen shot). It is an assert fail on node->TabBar == 0 (imgui.cpp Line 16271). When I start RetroDebugger normally (by clicking exe file from Win Explorer, assertion dialog shows, but I can ignore it and debugger then starts normally). When I use RetroDebugger from KickAssembler VSC plugin (by Paul Hocker), no matter what I press, debugger gets closed after I click anything on that assert dialog.

To Reproduce Steps to reproduce the behavior:

  1. Run Retrodebugger (either by clicking on exe or by Ctrl+F6 from VSC)
  2. See error

The error is most likely caused by my local configuration, but I cannot find the place where it is stored (I don't see it in Users/). Probably cleaning that out would help, but sadly I don't know how to do it.

Expected behavior I don't see a reason for this assert dialog to show up. App should work no matter how I rearrange the layout.

Screenshots image

Desktop (please complete the following information):

  • OS: Windows 11
  • Version: 0.64.64

Additional context Add any other context about the problem here.

maciejmalecki avatar Jul 18 '23 05:07 maciejmalecki

This seems to be a bug in ImGui that I hit once before. Cleaning layouts is enough. Data is stored in default program configuration, depends on Windows version, usually in ProgramData/RetroDebugger Please send me layouts.dat file before clearing that. There's also a command line option that when run with exe will clear settings.

slajerek avatar Jul 18 '23 10:07 slajerek

here it is: https://drive.google.com/file/d/1BINnurpavlLZd__gYYmv0EqbBTv1Ugp-/view?usp=sharing

maciejmalecki avatar Aug 03 '23 10:08 maciejmalecki

This has been partially fixed in a69c371 although this was a crude fix by removing assert in ImGui. Interestingly this works well without that assert. I will post this issue to ImGui forums with more details.

slajerek avatar Dec 24 '23 14:12 slajerek