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

QUINCY debug mode not working! #91

Open
steve64 opened this issue Jul 26, 2024 · 6 comments
Open

QUINCY debug mode not working! #91

steve64 opened this issue Jul 26, 2024 · 6 comments
Assignees

Comments

@steve64
Copy link

steve64 commented Jul 26, 2024

I'm trying to use the Quincy Pawn IDE 0.7.6974M
After compiled a simple hello.p with symbolic debugging and started the debug-mode execution, I got an error message in a dialog box:

Wxquincy Error
"Couldn't retrieve information about list control item 0"

@compuphase
Copy link
Owner

I cannot reproduce this error. I located the error message in the source code of wxWidgets for a list control. But there are several list controls in the program, so I do not know where to look.

Did you load the "hello.p" from the examples that come with Pawn, or a similar program that you wrote yourself. If it is your own version, can you copy it here, so that I can test with the exact same version as you.

@steve64
Copy link
Author

steve64 commented Jul 28, 2024 via email

@steve64
Copy link
Author

steve64 commented Jul 28, 2024 via email

@steve64
Copy link
Author

steve64 commented Jul 28, 2024

I just noticed that, after the error dialog, the step debugger seems to work.
So it seems just a matter of removing that annoying dialog.

Maybe the issue is in this code fragment inside QuincyFrame.cpp accessing the Watches list control?

if (DebugMode) {
    /* copy all rows in the watch log to the update list */
    LastWatchIndex = 0;
    WatchUpdateList.Clear();
    int idx = 0;
    while (idx < WatchLog->GetItemCount()) {
        wxString name = WatchLog->GetItemText(idx);
        if (name.Length() == 0) {
            WatchLog->DeleteItem(idx);
        } else {
            WatchUpdateList.Add(idx);
            idx++;
        }
    }

@compuphase
Copy link
Owner

Fixed in the latest commit of https://github.com/compuphase/Quincy.
Thank you for reporting it.

@steve64
Copy link
Author

steve64 commented Aug 1, 2024

Many thanks, are you going to make an official release soon including the fix?
Regards,
Stefano

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants