Open steve64 opened 3 months ago
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.
Thanks for your feedback. The issue happens always since the second time I try to debug in a session (on my PC, Window 10) The sequence is:
1. start wxquincy.exe 2. open the "hello.p" example 3. run without debugging -> OK, it runs 4. run with debug (F5) -> OK, it steps on the code lines 5. run without debugging -> OK, it runs 6. run with debug (F5) -> KO, the error dialog appears (list control item 0)
Note: since I do not have admin rights on this PC, I installed from pawn-4.1.7152.exe on another PC then copied the entire Pawn folder to this PC. Is there anything that the installer does besides extracting the Pawn folder ? (environment setting, registry, ...) By the way, also on the second PC (with proper auto-installation) I get exactly the same issue.
Kind regards, Stefano
Da: Thiadmer Riemersma @.> Inviato: sabato 27 luglio 2024 21:20 A: compuphase/pawn @.> Cc: steve64 @.>; Author @.> Oggetto: Re: [compuphase/pawn] QUINCY debug mode not working! (Issue #91)
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.
— Reply to this email directly, view it on GitHubhttps://github.com/compuphase/pawn/issues/91#issuecomment-2254232612, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC2TQMTJI7WX6FNS37A43Z3ZOPXGNAVCNFSM6AAAAABLQVEBDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGIZTENRRGI. You are receiving this because you authored the thread.
Probably the list control triggering the error dialog on the second debug attempt is one of the bottom panels: Build, Messages or Watches. I do not see other list controls in the main GUI window.
Regards, Stefano
Da: Stefano Antoniazzi @.> Inviato: domenica 28 luglio 2024 09:05 A: compuphase/pawn @.>; compuphase/pawn @.> Cc: Author @.> Oggetto: R: [compuphase/pawn] QUINCY debug mode not working! (Issue #91)
Thanks for your feedback. The issue happens always since the second time I try to debug in a session (on my PC, Window 10) The sequence is:
1. start wxquincy.exe 2. open the "hello.p" example 3. run without debugging -> OK, it runs 4. run with debug (F5) -> OK, it steps on the code lines 5. run without debugging -> OK, it runs 6. run with debug (F5) -> KO, the error dialog appears (list control item 0)
Note: since I do not have admin rights on this PC, I installed from pawn-4.1.7152.exe on another PC then copied the entire Pawn folder to this PC. Is there anything that the installer does besides extracting the Pawn folder ? (environment setting, registry, ...) By the way, also on the second PC (with proper auto-installation) I get exactly the same issue.
Kind regards, Stefano
Da: Thiadmer Riemersma @.> Inviato: sabato 27 luglio 2024 21:20 A: compuphase/pawn @.> Cc: steve64 @.>; Author @.> Oggetto: Re: [compuphase/pawn] QUINCY debug mode not working! (Issue #91)
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.
— Reply to this email directly, view it on GitHubhttps://github.com/compuphase/pawn/issues/91#issuecomment-2254232612, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC2TQMTJI7WX6FNS37A43Z3ZOPXGNAVCNFSM6AAAAABLQVEBDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGIZTENRRGI. You are receiving this because you authored the thread.
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++;
}
}
Fixed in the latest commit of https://github.com/compuphase/Quincy. Thank you for reporting it.
Many thanks, are you going to make an official release soon including the fix? Regards, Stefano
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"