Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi mad except nicht bei try except (https://www.delphipraxis.net/86754-mad-except-nicht-bei-try-except.html)

kingflo 19. Feb 2007 11:33


mad except nicht bei try except
 
Hallo... ich habe gerade mal mad except von Madshi getestet, und muss sagen es gefällt mir sehr sehr gut...

jetzt habe ich nur ein Problem, leider kommen die exception boxen auch an den stellen eins try except blocks... kann man dass nicht irgendwie ausstellen, denn es gibt einige stellen im Programm, wo ich die exception anders behandel, und das hatte auch immer super funktioniert... aber dann kann ich mad except leider nicht benutzen.

Kann man da nicht irgendwo einstellen, das er exceptions, die in einem try except block sind ignoriert?

also
Delphi-Quellcode:
try
 whatever();
except
 writeOwnErrorLog;
 whatever();
end;
soll er z.B ignorieren.

Matze 19. Feb 2007 11:41

Re: mad except nicht bei try except
 
Bei mir wurde das damals, soweit ich weiß, ignoriert.

Ich bin mir nicht sicher, wie das in Verbindung mit MadExcept ist, aber kann es sein, dass es daran liegt, dass du das Programm aus der IDE heraus startest und in den Debuggeroptionen eingestellt ist, dass Delphi bei Sprachexceptions stoppen soll? Wenn du das Programm außerhalb der IDE startest, tritt das Problem dann auch auf?

kingflo 19. Feb 2007 11:46

Re: mad except nicht bei try except
 
nein ist auch so, wenn ich nur die exe direkt starte

Jelly 19. Feb 2007 11:56

Re: mad except nicht bei try except
 
Deaktiviere mal in den Debugger Optionen die Checkbox "Notify on language exceptions"

kingflo 19. Feb 2007 12:31

Re: mad except nicht bei try except
 
Hab ich... aber daran liegt es nicht. Hab jetzt was gefunden, bzw geändert und zwar bei Mad except "don't call execption handles" das ist zwar serienmäßig an, aber wenn man es aus macht, dann neu comepliert und wieder an macht und neu compiliert dann gehts... naja komisch danke für eure Hilfe...


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:07 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz