Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shows up "Assertion failed!" dialog upon start #16

Open
maciejmalecki opened this issue Jul 18, 2023 · 3 comments
Open

Shows up "Assertion failed!" dialog upon start #16

maciejmalecki opened this issue Jul 18, 2023 · 3 comments
Assignees
Labels
ImGui Bug or task related to ImGui library code

Comments

@maciejmalecki
Copy link

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.

@slajerek
Copy link
Owner

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.

@maciejmalecki
Copy link
Author

@slajerek
Copy link
Owner

slajerek commented Dec 24, 2023

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 slajerek reopened this Dec 24, 2023
@slajerek slajerek added the ImGui Bug or task related to ImGui library code label Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ImGui Bug or task related to ImGui library code
Projects
None yet
Development

No branches or pull requests

2 participants