Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi IDE hängt sich ständig auf bei Exceptions (https://www.delphipraxis.net/143567-ide-haengt-sich-staendig-auf-bei-exceptions.html)

Hedge 18. Nov 2009 13:26


IDE hängt sich ständig auf bei Exceptions
 
Ich benutze RAD Studio 2009 und habe ständig folgendes Problem:

Wenn ich ein Programm aus dem Editor ausführe und es zu einer Exception kommt kann ich gar nichts mehr anklicken auf dem gesamten System.

Wenn ich dann STRG+ALT+ENTF drücken, dann taucht ein Debugger Exception-Fenster auf, das jedoch weiß bleibt.
Mir bleibt dann nichts Anderes übrig als den Prozess bds.exe abzuschießen und den Editor neuzustarten.

Das nervt natürlich ENDLOS und hindert an der Arbeit.

Hat Jemand eine Ahnung woran das liegen könnte?

Bernhard Geyer 18. Nov 2009 13:27

Re: IDE hängt sich ständig auf bei Exceptions
 
Welches OS? Alle Systemtreiber (Grafikkarte, Netzwerk, ...) auf aktuellen Stand?

Hedge 18. Nov 2009 13:30

Re: IDE hängt sich ständig auf bei Exceptions
 
Windows 7 RTM.
Bis vor ein paar Wochen hatte ich keinerlei Probleme.
Die Treiber sind auch up-to-date (hatte vorher manchmal Probleme mit der Grafikkarte, aber Intel hat zwischenzeitlich eine neue Treiber-Version veröffentlicht)

Mal etwas Beispielcode wo das Problem auftritt:

Delphi-Quellcode:
procedure TMainForm.SaveSettings();
Var
  XML: TXMLDocument;
  Root,Language,WindowPosition: IXMLNode;
begin
  XML:=TXMLDocument.Create(Application.MainForm);
  XML.Active:=true;
  Root:=XML.CreateElement('settings','');
  XML.DocumentElement := Root;
  Language:=XML.DocumentElement.AddChild('language');
  Language.Text:=LanguageComboBox.Text;
  WindowPosition:=XML.DocumentElement.AddChild('windows position');
  XML.SaveToFile(ExtractFilePath(Application.ExeName)+'settings.xml');
  FreeAndNil(XML);
end;
In der Zeile mit WindowPosition:= passiert es


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:54 Uhr.

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