diff --git a/dist/changes-1.3.1 b/dist/changes-1.3.1 index 0fc73623b26f91a6f935aa68b461b72fb3d845e4..210806f12e65a69951f6f41e04f6ea7e5e9e2489 100644 --- a/dist/changes-1.3.1 +++ b/dist/changes-1.3.1 @@ -34,6 +34,8 @@ Debugging * CDB: Fixed disassembler for 64 bit addresses * Fixed finding the file for build issues when mingw32-make is used * Ignore case of file name in breakpoint handling on Windows + * Fixed problems with gdb timing out and debugging sessions unexpectedly finishing + * Improved startup time of gdb sessions by not asking for all files known to gdb Help * Don't switch to Help mode if help side bar is already visible diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index aa21c9433a114cb5ddbfe98954bf4d6f2b6e21f1..9b994868f8ce4506ea9ace7081bb3094003bceae 100644 --- a/share/qtcreator/translations/qtcreator_de.ts +++ b/share/qtcreator/translations/qtcreator_de.ts @@ -796,7 +796,7 @@ <message> <location line="+3"/> <source>The process terminated abnormally.</source> - <translation type="unfinished">Der Prozess wurde in anormaler Weise beendet.</translation> + <translation>Der Prozess wurde in anormaler Weise beendet.</translation> </message> <message> <location line="+3"/> @@ -1331,13 +1331,13 @@ Sollen sie überschrieben werden?</translation> <name>Core::EditorManager</name> <message> <location filename="../../../src/plugins/coreplugin/editormanager/editormanager.cpp" line="+187"/> - <location line="+1493"/> + <location line="+1495"/> <source>Revert to Saved</source> <translation>Wiederherstellen</translation> </message> <message> - <location line="-1490"/> - <location filename="../../../src/plugins/coreplugin/editormanager/editorview.cpp" line="+531"/> + <location line="-1492"/> + <location filename="../../../src/plugins/coreplugin/editormanager/editorview.cpp" line="+539"/> <source>Close</source> <translation>Schließen</translation> </message> @@ -1348,12 +1348,12 @@ Sollen sie überschrieben werden?</translation> </message> <message> <location line="+1"/> - <location line="+1292"/> + <location line="+1294"/> <source>Close Others</source> <translation>Andere schließen</translation> </message> <message> - <location line="-1287"/> + <location line="-1289"/> <source>Open in External Editor</source> <translation>Öffne in externem Editor</translation> </message> @@ -1479,7 +1479,7 @@ Sollen sie überschrieben werden?</translation> <translation>Datei öffnen</translation> </message> <message> - <location line="+140"/> + <location line="+142"/> <source>File is Read Only</source> <translation>Die Datei ist schreibgeschützt</translation> </message> @@ -1526,7 +1526,7 @@ Sollen sie überschrieben werden?</translation> <translation>Schreibbar machen</translation> </message> <message> - <location line="-1268"/> + <location line="-1270"/> <source>Next Open Document in History</source> <translation>Nächstes geöffnetes Dokument im Verlauf</translation> </message> @@ -1571,7 +1571,7 @@ Sollen sie überschrieben werden?</translation> <translation>%1,o</translation> </message> <message> - <location line="+1115"/> + <location line="+1117"/> <source>Save %1 As...</source> <translation>Speicher '%1' unter...</translation> </message> @@ -1670,7 +1670,7 @@ Sollen sie überschrieben werden?</translation> <message> <location line="+7"/> <source>Split Top/Bottom</source> - <translation type="unfinished">Oben/unten teilen</translation> + <translation>Oben/unten teilen</translation> </message> <message> <location line="+7"/> @@ -1736,7 +1736,7 @@ Sollen sie überschrieben werden?</translation> <context> <name>Core::Internal::EditorView</name> <message> - <location filename="../../../src/plugins/coreplugin/editormanager/editorview.cpp" line="-442"/> + <location filename="../../../src/plugins/coreplugin/editormanager/editorview.cpp" line="-450"/> <source>Go Back</source> <translation>Vorheriges</translation> </message> @@ -1757,7 +1757,7 @@ Sollen sie überschrieben werden?</translation> <translation>Schließen</translation> </message> <message> - <location line="+213"/> + <location line="+221"/> <source>Make writable</source> <translation>Schreibbar machen</translation> </message> @@ -2342,7 +2342,7 @@ Sollen sie überschrieben werden?</translation> <translation>Alphabetisch sortieren</translation> </message> <message> - <location line="+188"/> + <location line="+192"/> <source>This change cannot be undone.</source> <translation>Diese Änderung kann nicht rückgängig gemacht werden.</translation> </message> @@ -2397,7 +2397,7 @@ Sollen sie überschrieben werden?</translation> <context> <name>CppEditor::Internal::CppPlugin</name> <message> - <location filename="../../../src/plugins/cppeditor/cppplugin.cpp" line="+189"/> + <location filename="../../../src/plugins/cppeditor/cppplugin.cpp" line="+190"/> <source>C++</source> <translation>C++</translation> </message> @@ -2493,7 +2493,7 @@ Sollen sie überschrieben werden?</translation> <context> <name>CppPreprocessor</name> <message> - <location filename="../../../src/plugins/cpptools/cppmodelmanager.cpp" line="+540"/> + <location filename="../../../src/plugins/cpptools/cppmodelmanager.cpp" line="+541"/> <source>%1: No such file or directory</source> <translation>%1: Es existiert keine Datei oder kein Verzeichnis dieses Namens</translation> </message> @@ -2599,7 +2599,7 @@ Sollen sie überschrieben werden?</translation> <context> <name>CppTools::Internal::CppModelManager</name> <message> - <location filename="../../../src/plugins/cpptools/cppmodelmanager.cpp" line="+327"/> + <location filename="../../../src/plugins/cpptools/cppmodelmanager.cpp" line="+319"/> <source>Scanning</source> <translation>Suche</translation> </message> @@ -2633,7 +2633,7 @@ Sollen sie überschrieben werden?</translation> <context> <name>CppTools::Internal::FunctionArgumentWidget</name> <message> - <location filename="../../../src/plugins/cpptools/cppcodecompletion.cpp" line="+443"/> + <location filename="../../../src/plugins/cpptools/cppcodecompletion.cpp" line="+451"/> <source>%1 of %2</source> <translation>%1 von %2</translation> </message> @@ -2651,7 +2651,7 @@ Sollen sie überschrieben werden?</translation> <translation>Debugger</translation> </message> <message> - <location filename="../../../src/plugins/debugger/watchutils.cpp" line="+654"/> + <location filename="../../../src/plugins/debugger/watchutils.cpp" line="+659"/> <source><Encoding error></source> <translation><Encoding-Fehler></translation> </message> @@ -2686,12 +2686,12 @@ Sollen sie überschrieben werden?</translation> </message> <message> <location line="+3"/> - <location line="+1215"/> + <location line="+1216"/> <source>Interrupt</source> <translation>Anhalten</translation> </message> <message> - <location line="-1212"/> + <location line="-1213"/> <source>Reset Debugger</source> <translation>Debugger zurücksetzen</translation> </message> @@ -2822,7 +2822,7 @@ Sollen sie überschrieben werden?</translation> <translation>Ausgabe-Hilfsbibliothek nicht gefunden</translation> </message> <message> - <location line="+172"/> + <location line="+173"/> <source>Stop Debugger</source> <translation>Debugger anhalten</translation> </message> @@ -2879,7 +2879,7 @@ Sollen sie überschrieben werden?</translation> <context> <name>Debugger::Internal::BreakHandler</name> <message> - <location filename="../../../src/plugins/debugger/breakhandler.cpp" line="+200"/> + <location filename="../../../src/plugins/debugger/breakhandler.cpp" line="+212"/> <source>Marker File:</source> <translation>Marker-Datei:</translation> </message> @@ -3106,7 +3106,7 @@ Sollen sie überschrieben werden?</translation> <translation>Debugger</translation> </message> <message> - <location line="+33"/> + <location line="+35"/> <source>The dumper library was not found at %1.</source> <translation>Es konnte keine Ausgabe-Hilfsbibliothek unter %1 gefunden werden.</translation> </message> @@ -3121,17 +3121,16 @@ Sollen sie überschrieben werden?</translation> <translation>Das Debuggen von Core-Dateien wird nicht unterstützt!</translation> </message> <message> - <location line="+4"/> <source>Debugger running</source> - <translation>Debugger läuft</translation> + <translation type="obsolete">Debugger läuft</translation> </message> <message> - <location line="+30"/> + <location line="+33"/> <source>Attaching to a process failed for process id %1: %2</source> <translation>Der Debugger konnte sich nicht an den Prozess %1 anhängen: %2</translation> </message> <message> - <location line="+27"/> + <location line="+25"/> <source>Unable to set the image path to %1: %2</source> <translation>Der Suchpfad für ausführbare Dateien konnte nicht auf %1 gesetzt werden: %2</translation> </message> @@ -3210,7 +3209,7 @@ Sollen sie überschrieben werden?</translation> <translation>Die Symbole können nicht bestimmt werden, solange die zu debuggende Anwendung läuft.</translation> </message> <message> - <location line="+64"/> + <location line="+66"/> <location line="+6"/> <source>Debugger Error</source> <translation>Debugger-Fehler</translation> @@ -3438,7 +3437,7 @@ Sollen sie überschrieben werden?</translation> <context> <name>Debugger::Internal::DebuggerPlugin</name> <message> - <location line="+269"/> + <location line="+272"/> <source>Option '%1' is missing the parameter.</source> <translation>Das Kommandozeilenargument %1erfordert ein Argument.</translation> </message> @@ -3662,7 +3661,12 @@ Sollen sie überschrieben werden?</translation> <translation>Haltepunkte synchronisieren</translation> </message> <message> - <location line="+23"/> + <location line="+4"/> + <source>Use precise breakpoints</source> + <translation>Genaue Haltepunkte verwenden</translation> + </message> + <message> + <location line="+27"/> <source>Automatically quit debugger</source> <translation>Debugger automatisch beenden</translation> </message> @@ -3763,7 +3767,7 @@ Sollen sie überschrieben werden?</translation> <context> <name>Debugger::Internal::GdbEngine</name> <message> - <location filename="../../../src/plugins/debugger/gdb/gdbengine.cpp" line="+304"/> + <location filename="../../../src/plugins/debugger/gdb/gdbengine.cpp" line="+306"/> <source>The Gdb process failed to start. Either the invoked program '%1' is missing, or you may have insufficient permissions to invoke the program.</source> <translation>Der Start des Gdb-Prozesses schlug fehl. Entweder fehlt die ausführbare Datei '%1' oder die Berechtigungen sind nicht ausreichend.</translation> </message> @@ -3788,7 +3792,7 @@ Sollen sie überschrieben werden?</translation> <translation>Ein Fehler trat beim Versuch des Lesens vom Gdb-Prozess auf. Wahrscheinlich läuft der Prozess nicht.</translation> </message> <message> - <location line="+117"/> + <location line="+119"/> <source>Library %1 loaded.</source> <translation>Bibliothek %1 geladen.</translation> </message> @@ -3827,44 +3831,53 @@ Sollen sie überschrieben werden?</translation> <source>Stopping temporarily.</source> <translation>Temporär Anhalten.</translation> </message> + <message numerus="yes"> + <location line="+69"/> + <source>The gdb process has not responded to a command within %n seconds. This could mean it is stuck in an endless loop or taking longer than expected to perform the operation. +You can choose between waiting longer or abort debugging.</source> + <translation> + <numerusform>Der Gdb-Prozess hat nach %1 Sekunde nicht auf das Kommando reagiert. Das könnte bedeuten, dass er sich in einer Endlosschleife befinded oder für die Operation mehr Zeit benötigt. +Sie haben die Wahl zwischen Abwarten oder Abbrechen.</numerusform> + <numerusform>Der Gdb-Prozess hat nach %1 Sekunden nicht auf das Kommando reagiert. Das könnte bedeuten, dass er sich in einer Endlosschleife befinded oder für die Operation mehr Zeit benötigt. +Sie haben die Wahl zwischen Abwarten oder Abbrechen.</numerusform> + </translation> + </message> <message> - <location line="+88"/> + <location line="+48"/> <source>Process failed to start.</source> <translation>Der Prozess konnte nicht gestartet werden.</translation> </message> <message> - <location line="+423"/> + <location line="+443"/> <source><p>The inferior stopped because it received a signal from the Operating System.<p><table><tr><td>Signal name : </td><td>%1</td></tr><tr><td>Signal meaning : </td><td>%2</td></tr></table></source> <translation><p>Der Prozess wurde nach Erhalt eines Signals vom Betriebssystem angehalten.<p><table><tr><td>Name des Signals : </td><td>%1</td></tr><tr><td>Bedeutung : </td><td>%2</td></tr></table></translation> </message> <message> - <location line="+4"/> - <location line="+1"/> <source> <Unknown> </source> - <translation><Unbekannt></translation> + <translation type="obsolete"><Unbekannt></translation> </message> <message> - <location line="+2"/> + <location line="+7"/> <source>Signal received</source> <translation>Signal erhalten</translation> </message> <message> - <location line="-769"/> + <location line="-818"/> <source>Reading %1...</source> <translation>Lese %1...</translation> </message> <message> - <location line="+504"/> + <location line="+535"/> <source>Jumped. Stopped.</source> <translation>Sprung ausgeführt/ Angehalten.</translation> </message> <message> - <location line="+165"/> + <location line="+153"/> <source>Loading %1...</source> <translation>Lade %1...</translation> </message> <message> - <location line="+84"/> + <location line="+114"/> <source>Stopped at breakpoint.</source> <translation>An Haltepunkt angehalten.</translation> </message> @@ -3874,7 +3887,7 @@ Sollen sie überschrieben werden?</translation> <translation>Angehalten: "%1"</translation> </message> <message> - <location line="+52"/> + <location line="+64"/> <source>The debugger you are using identifies itself as:</source> <translation>Der benutzte Debugger ist:</translation> </message> @@ -3888,13 +3901,13 @@ Das Debuggen wird wahrscheinlich nicht richtig funktionieren. Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> </message> <message> - <location line="-566"/> + <location line="-627"/> <source>Processing queued commands.</source> <translation>Kommando-Warteschlange wird abgearbeitet.</translation> </message> <message> - <location line="+510"/> - <location line="+109"/> + <location line="+559"/> + <location line="+120"/> <source>Stopped.</source> <translation>Angehalten.</translation> </message> @@ -3911,17 +3924,17 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> </translation> </message> <message> - <location line="+2484"/> + <location line="+2523"/> <source>The debugging helper library was not found at %1.</source> <translation>Die Ausgabe-Hilfsbibliothek konnte nicht unter %1 gefunden werden.</translation> </message> <message> - <location line="+369"/> + <location line="+370"/> <source>Unable to start gdb '%1': %2</source> <translation>Der gdb-Debugger '%1' kann nicht ausgeführt werden: %2</translation> </message> <message> - <location line="+90"/> + <location line="+92"/> <source>Cannot find debugger initialization script</source> <translation>Das Initalisierungsskript konnte nicht gefunden werden</translation> </message> @@ -3931,24 +3944,23 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>Auf die in den Debugger-Einstellungen angegebene Skriptdatei '%1' kann nicht zugegriffen werden. Wenn kein Skript benötigt wird, können Sie die Einstellung rücksetzen, um diese Warnung zu umgehen.</translation> </message> <message> - <location line="-2155"/> + <location line="-2178"/> <source>Unable to run '%1': %2</source> <translation>'%1' kann nicht ausgeführt werden: %2</translation> </message> <message> - <location line="+74"/> <source><unknown></source> <extracomment>End address of loaded module</extracomment> - <translation><unbekannt></translation> + <translation type="obsolete"><unbekannt></translation> </message> <message> - <location line="+45"/> + <location line="+133"/> <location line="+8"/> <source>Retrieving data for stack view...</source> <translation>Daten der Stack-Anzeige werden empfangen...</translation> </message> <message numerus="yes"> - <location line="+503"/> + <location line="+505"/> <source>Retrieving data for watch view (%n requests pending)...</source> <translation> <numerusform>Daten der für die Anzeige der lokalen Variablen werden empfangen (noch eine austehende Anfrage) ...</numerusform> @@ -3956,7 +3968,7 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> </translation> </message> <message numerus="yes"> - <location line="+623"/> + <location line="+627"/> <source><%n items></source> <extracomment>In string list</extracomment> <translation> @@ -3965,7 +3977,7 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> </translation> </message> <message> - <location line="-299"/> + <location line="-303"/> <source>Finished retrieving data.</source> <translation>Alle Daten erhalten.</translation> </message> @@ -3983,12 +3995,12 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> </translation> </message> <message> - <location line="-2861"/> + <location line="-2958"/> <source>An unknown error in the Gdb process occurred. </source> <translation>Im Gdb-Prozess trat ein unbekannter Fehler auf.</translation> </message> <message> - <location line="+236"/> + <location line="+238"/> <source>Running...</source> <translation>Läuft...</translation> </message> @@ -3998,7 +4010,22 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>Stop angefordert...</translation> </message> <message> - <location line="+197"/> + <location line="+185"/> + <source>Gdb not responding</source> + <translation>Gdb antwortet nicht</translation> + </message> + <message> + <location line="+2"/> + <source>Give gdb more time</source> + <translation>Fortsetzen</translation> + </message> + <message> + <location line="+1"/> + <source>Stop debugging</source> + <translation>Debuggen beenden</translation> + </message> + <message> + <location line="+38"/> <location line="+29"/> <location line="+3"/> <source>Executable failed</source> @@ -4011,7 +4038,7 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>Fehler bei Ausführung: %1</translation> </message> <message> - <location line="+228"/> + <location line="+230"/> <source>Program exited with exit code %1.</source> <translation>Das Programm wurde beendet, Rückgabewert %1.</translation> </message> @@ -4026,7 +4053,19 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>Das Programm wurde normal beendet.</translation> </message> <message> - <location line="+488"/> + <location line="+179"/> + <source> <Unknown> </source> + <comment>name</comment> + <translation><Unbekannt></translation> + </message> + <message> + <location line="+1"/> + <source> <Unknown> </source> + <comment>meaning</comment> + <translation><Unbekannt></translation> + </message> + <message> + <location line="+342"/> <source>Continuing after temporary stop...</source> <translation>Setze nach temporärem Anhalten fort...</translation> </message> @@ -4071,17 +4110,24 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>Ausführung bis Funktion %1 angefordert...</translation> </message> <message> - <location line="+708"/> + <location line="+585"/> + <source><unknown></source> + <comment>address</comment> + <extracomment>End address of loaded module</extracomment> + <translation><unbekannt></translation> + </message> + <message> + <location line="+151"/> <source>Jumping out of bogus frame...</source> <translation>Verlasse ungültigen Stack-Rahmen...</translation> </message> <message> - <location line="+903"/> + <location line="+905"/> <source>Custom dumper setup: %1</source> <translation>Ausgabe-Hilfsbibliothek-Initialisierung: %1</translation> </message> <message> - <location line="+128"/> + <location line="+132"/> <source><0 items></source> <translation><leer></translation> </message> @@ -4107,14 +4153,14 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation><keine Angabe></translation> </message> <message> - <location line="+349"/> + <location line="+350"/> <location line="+25"/> <location line="+14"/> <source>Disassembler failed: %1</source> <translation>Fehler beim Disassemblieren: %1</translation> </message> <message> - <location line="+155"/> + <location line="+157"/> <source>Gdb I/O Error</source> <translation>Gdb Ein/Ausgabefehler</translation> </message> @@ -4144,27 +4190,27 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>Der Start des Adapters schlug fehl</translation> </message> <message> - <location line="+39"/> + <location line="+41"/> <source>Setting breakpoints...</source> <translation>Setze Haltepunkte...</translation> </message> <message> - <location line="-23"/> + <location line="-25"/> <source>Starting inferior...</source> <translation>Starte zu debuggenden Prozess...</translation> </message> <message> - <location line="+45"/> + <location line="+47"/> <source>Inferior start failed</source> <translation>Der Start des zu debuggenden Prozesses schlug fehl</translation> </message> <message> - <location line="-2978"/> + <location line="-3019"/> <source>Inferior shutdown failed</source> <translation>Das Beenden des zu debuggenden Prozesses schlug fehl</translation> </message> <message> - <location line="+2998"/> + <location line="+3039"/> <source>Adapter crashed</source> <translation>Der Adapter ist abgestürzt</translation> </message> @@ -4172,7 +4218,7 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <context> <name>Debugger::Internal::GdbOptionsPage</name> <message> - <location filename="../../../src/plugins/debugger/gdb/gdboptionspage.cpp" line="+8"/> + <location filename="../../../src/plugins/debugger/gdb/gdboptionspage.cpp" line="+37"/> <source>Gdb</source> <translation>Gdb</translation> </message> @@ -4190,10 +4236,20 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <context> <name>Debugger::Internal::MemoryViewAgent</name> <message> - <location filename="../../../src/plugins/debugger/debuggeragents.cpp" line="+93"/> + <location filename="../../../src/plugins/debugger/debuggeragents.cpp" line="+95"/> <source>Memory $</source> <translation>Speicher $</translation> </message> + <message> + <location line="+12"/> + <source>No memory viewer available</source> + <translation>Es ist kein Anzeigemodul für Speicher verfügbar</translation> + </message> + <message> + <location line="+1"/> + <source>The memory contents cannot be shown as no viewer plugin for binary data has been loaded.</source> + <translation>Der Speicherinhalt kann nicht angezeigt werden, da kein Plugin zur Anzeige binärer Daten geladen ist.</translation> + </message> </context> <context> <name>Debugger::Internal::ModulesModel</name> @@ -4322,12 +4378,12 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <context> <name>Debugger::Internal::PlainGdbAdapter</name> <message> - <location filename="../../../src/plugins/debugger/gdb/plaingdbadapter.cpp" line="+79"/> + <location filename="../../../src/plugins/debugger/gdb/plaingdbadapter.cpp" line="+80"/> <source>Cannot set up communication with child process: %1</source> <translation>Die Kommunikation mit dem untergeordneten Prozess konnte nicht hergestellt werden: %1</translation> </message> <message> - <location line="+36"/> + <location line="+43"/> <source>Starting executable failed: </source> <translation>Das Starten der ausführbaren Datei schlug fehl: @@ -4819,12 +4875,12 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>Interner Name</translation> </message> <message> - <location line="+1122"/> + <location line="+1136"/> <source><Edit></source> <translation><Editieren></translation> </message> <message> - <location line="-1090"/> + <location line="-1104"/> <source>Root</source> <translation>Wurzelelement</translation> </message> @@ -4862,7 +4918,7 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <context> <name>Debugger::Internal::WatchModel</name> <message> - <location line="+453"/> + <location line="+465"/> <source>decimal</source> <translation>dezimal</translation> </message> @@ -4882,7 +4938,7 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>oktal</translation> </message> <message> - <location line="+86"/> + <location line="+85"/> <source>Name</source> <translation>Name</translation> </message> @@ -4915,7 +4971,12 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>Format für den Ausdruck '%1' ändern</translation> </message> <message> - <location line="+21"/> + <location line="+5"/> + <source>Clear</source> + <translation>Löschen</translation> + </message> + <message> + <location line="+20"/> <source>Change format for type</source> <translation>Format für Typ ändern</translation> </message> @@ -5147,7 +5208,7 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <context> <name>Designer::Internal::FormEditorPlugin</name> <message> - <location filename="../../../src/plugins/designer/formeditorplugin.cpp" line="+137"/> + <location filename="../../../src/plugins/designer/formeditorplugin.cpp" line="+138"/> <source>Qt</source> <translation>Qt</translation> </message> @@ -5366,7 +5427,7 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <context> <name>Designer::Internal::QtCreatorIntegration</name> <message> - <location filename="../../../src/plugins/designer/qtcreatorintegration.cpp" line="+72"/> + <location filename="../../../src/plugins/designer/qtcreatorintegration.cpp" line="+74"/> <source>The class definition of '%1' could not be found in %2.</source> <translation>Die Definition der Klasse '%1' konnte in %2 nicht gefunden werden.</translation> </message> @@ -5376,7 +5437,12 @@ Es wird empfohlen, gdb 6.7 oder später zu benutzen.</translation> <translation>Fehler beim Auffinden/Hinzufügen des Slot-Codes.</translation> </message> <message> - <location line="+41"/> + <location line="+36"/> + <source>Internal error: No project could be found for %1.</source> + <translation>Interner Fehler: Es konnte kein zu %1 gehöriges Projekt gefunden werden.</translation> + </message> + <message> + <location line="+18"/> <source>No documents matching '%1' could be found. Rebuilding the project might help.</source> <translation>Es konnten keine dem Suchmuster '%1' entsprechenden Dokumente gefunden werden. @@ -5418,7 +5484,7 @@ Versuchen Sie, das Projekt neu zu erstellen.</translation> <source>Use Virtual Box Note: This adds the toolchain to the build environment and runs the program inside a virtual machine. It also automatically sets the correct Qt version.</source> - <translation type="unfinished"></translation> + <translation></translation> </message> </context> <context> @@ -5687,7 +5753,7 @@ Grund: %3</translation> <translation>%1Alle</translation> </message> <message> - <location line="+1025"/> + <location line="+1029"/> <source>File '%1' exists (add ! to override)</source> <translation>Die '%1' existiert bereits (Fügen Sie ! an, um sie zu überschreiben)</translation> </message> @@ -5975,7 +6041,7 @@ Grund: %3</translation> <context> <name>Find::Internal::FindPlugin</name> <message> - <location filename="../../../src/plugins/find/findplugin.cpp" line="+150"/> + <location filename="../../../src/plugins/find/findplugin.cpp" line="+152"/> <source>&Find/Replace</source> <translation>&Suchen/Ersetzen</translation> </message> @@ -6176,6 +6242,33 @@ Grund: %3</translation> <source>This is either a full absolute path leading to the gdb binary you intend to use or the name of a gdb binary that will be searched in your PATH.</source> <translation>Geben Sie den vollen, absoluten Pfad zu der ausführbaren Datei ein, oder einen relativen Pfad, der in der Pfad-Variable gesucht wird.</translation> </message> + <message> + <location/> + <source>When this option is checked, the debugger plugin attempts +to extract full path information for all source files from gdb. This is a +slow process but enables setting breakpoints in files with the same file +name in different directories.</source> + <translation>Diese Option bewirkt, dass der Debugger versucht, die vollständigen Pfade aller Quelldateien von gdb zu erhalten. Das ist zeitaufwändig, gestattet aber das Setzen von Haltepunkten in Quelldateien gleichen Namens in verschiedenen Ordnern.</translation> + </message> + <message> + <location/> + <source>Use full path information to set breakpoints</source> + <translation>Vollständige Pfadinformation beim Setzen der Haltepunkte verwenden</translation> + </message> + <message> + <location/> + <source>Gdb timeout:</source> + <translation>Gdb-Timeout:</translation> + </message> + <message> + <location/> + <source>This is the number of seconds Qt Creator will wait before +it terminates non-responsive gdb process. The default value of 20 seconds +should be sufficient for most applications, but there are situations when +loading big libraries or listing source files takes much longer than that +on slow machines. In this case, the value should be increased.</source> + <translation>Anzahl der Sekunden, die Qt Creator abwartet, bevor gdb-Prozesse abgebrochen werden, die nicht mehr reagieren. Die Vorgabe von 20 Sekunden sollte für die meisten Anwendungsfälle ausreichen, aber es können Situationen auftreten, in denen das Laden großer Bibliotheken oder das Auflisten der Quelldateien viel länger dauert (auf langsamen Maschinen). In diesem Falle sollte der Wert erhöht werden.</translation> + </message> </context> <context> <name>GeneralSettingsPage</name> @@ -6917,12 +7010,11 @@ Grund: %3</translation> <translation>&Wiederholen</translation> </message> <message> - <location line="+65"/> <source>Could not find working directory</source> - <translation>Das Arbeitsverzeichnis konnte nicht gefunden werden.</translation> + <translation type="obsolete">Das Arbeitsverzeichnis konnte nicht gefunden werden.</translation> </message> <message> - <location line="+61"/> + <location line="+127"/> <source>Revert</source> <translation>Rückgängig machen</translation> </message> @@ -7578,9 +7670,8 @@ Grund: %3</translation> <translation>Suchen im Modus "Hilfe" zeigen</translation> </message> <message> - <location line="+292"/> - <location line="+4"/> - <location line="+146"/> + <location line="+285"/> + <location line="+165"/> <source>Unfiltered</source> <translation>Kein</translation> </message> @@ -9095,7 +9186,7 @@ p, li { white-space: pre-wrap; } <context> <name>ProjectExplorer::DebuggingHelperLibrary</name> <message> - <location filename="../../../src/plugins/projectexplorer/debugginghelper.cpp" line="+131"/> + <location filename="../../../src/plugins/projectexplorer/debugginghelper.cpp" line="+135"/> <source>The target directory %1 could not be created.</source> <translation>Das Zielverzeichnis %1 konnte nicht erstellt werden.</translation> </message> @@ -9169,7 +9260,7 @@ Fehler: %2</translation> <translation><Nicht gesetzt></translation> </message> <message> - <location line="+158"/> + <location line="+160"/> <location line="+254"/> <source><VARIABLE></source> <translation><Variable></translation> @@ -9221,7 +9312,7 @@ Fehler: %2</translation> <context> <name>ProjectExplorer::Internal::ActiveConfigurationWidget</name> <message> - <location filename="../../../src/plugins/projectexplorer/projectexplorer.cpp" line="+2181"/> + <location filename="../../../src/plugins/projectexplorer/projectexplorer.cpp" line="+2179"/> <location filename="../../../src/plugins/projectexplorer/projectwindow.cpp" line="+181"/> <source>Active run configuration</source> <translation>Aktive Ausführungskonfiguration</translation> @@ -9586,12 +9677,11 @@ Fehler: %2</translation> <translation>Anhalten</translation> </message> <message> - <location line="+4"/> <source>Ctrl+Shift+R</source> - <translation>Ctrl+Shift+R</translation> + <translation type="obsolete">Ctrl+Shift+R</translation> </message> <message> - <location line="+56"/> + <location line="+59"/> <source>Application Output</source> <translation>Ausgabe der Anwendung</translation> </message> @@ -10060,7 +10150,7 @@ Fehler: %2</translation> <context> <name>ProjectExplorer::ProjectExplorerPlugin</name> <message> - <location filename="../../../src/plugins/projectexplorer/projectexplorer.cpp" line="-1923"/> + <location filename="../../../src/plugins/projectexplorer/projectexplorer.cpp" line="-1921"/> <source>Projects</source> <translation>Projekte</translation> </message> @@ -10385,7 +10475,7 @@ unter Versionsverwaltung (%2) gestellt werden?</translation> <context> <name>ProjectExplorer::Internal::BuildConfigDialog</name> <message> - <location line="+227"/> + <location line="+225"/> <source>This can happen if the active build configuration uses the wrong Qt version and/or tool chain for the active run configuration (for example, running in Symbian emulator requires building with the WINSCW tool chain).</source> <translation>Das kann passieren, wenn die aktive Build-Konfiguration eine für die aktive Ausführungskonfiguration ungeeignete Qt-Version und/oder Toolchain benutzt (zum Beispiel erfordert die Ausführung im Symbian-Emulator die Toolchain WINSCW).</translation> </message> @@ -11055,7 +11145,7 @@ unter Versionsverwaltung (%2) gestellt werden?</translation> <context> <name>Qt4ProjectManager::Internal::DesignerExternalEditor</name> <message> - <location filename="../../../src/plugins/qt4projectmanager/externaleditors.cpp" line="+215"/> + <location filename="../../../src/plugins/qt4projectmanager/externaleditors.cpp" line="+244"/> <source>Qt Designer is not responding (%1).</source> <translation>Qt Designer antwortet nicht (%1).</translation> </message> @@ -11296,13 +11386,21 @@ unter Versionsverwaltung (%2) gestellt werden?</translation> </message> <message> <location line="+2"/> - <source>You can add custom build steps in the <a href="qthelp://com.nokia.qtcreator/doc/creator-build-settings.html">build settings</a>.</source> - <translation>Sie können eigene Erstellungsschritte in den <a href="qthelp://com.nokia.qtcreator/doc/creator-build-settings.html">'Build'-Einstellungen</a> hinzufügen.</translation> + <source>You can add custom build steps in the <a href="qthelp://com.nokia.qtcreator/doc/creator-project-pane.html#build-settings">build settings</a>.</source> + <translation type="unfinished"></translation> </message> <message> <location line="+2"/> + <source>Within a session, you can add <a href="qthelp://com.nokia.qtcreator/doc/creator-project-pane.html#dependencies">dependencies</a> between projects.</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>You can add custom build steps in the <a href="qthelp://com.nokia.qtcreator/doc/creator-build-settings.html">build settings</a>.</source> + <translation type="obsolete">Sie können eigene Erstellungsschritte in den <a href="qthelp://com.nokia.qtcreator/doc/creator-build-settings.html">'Build'-Einstellungen</a> hinzufügen.</translation> + </message> + <message> <source>Within a session, you can add <a href="qthelp://com.nokia.qtcreator/doc/creator-build-settings.html#dependencies">dependencies</a> between projects.</source> - <translation>In einer Sitzung können Sie <a href="qthelp://com.nokia.qtcreator/doc/creator-build-settings.html#dependencies">Abhängigkeiten</a> zwischen Projekten herstellen.</translation> + <translation type="obsolete">In einer Sitzung können Sie <a href="qthelp://com.nokia.qtcreator/doc/creator-build-settings.html#dependencies">Abhängigkeiten</a> zwischen Projekten herstellen.</translation> </message> <message> <location line="+2"/> @@ -11653,7 +11751,7 @@ unter Versionsverwaltung (%2) gestellt werden?</translation> <context> <name>Qt4ProjectManager::Internal::Qt4ProFileNode</name> <message> - <location line="+240"/> + <location line="+242"/> <source>Error while parsing file %1. Giving up.</source> <translation>Fehler beim Auswerten von %1. Abbruch.</translation> </message> @@ -11836,7 +11934,7 @@ unter Versionsverwaltung (%2) gestellt werden?</translation> <context> <name>Qt4ProjectManager::Internal::QtOptionsPageWidget</name> <message> - <location filename="../../../src/plugins/qt4projectmanager/qtoptionspage.cpp" line="+111"/> + <location filename="../../../src/plugins/qt4projectmanager/qtoptionspage.cpp" line="+140"/> <source><specify a name></source> <translation><Geben Sie einen Namen an></translation> </message> @@ -12319,15 +12417,20 @@ Installiere Anwendung auf '%2'...</translation> <translation>Aktualisieren</translation> </message> <message> - <location filename="../../../src/plugins/qt4projectmanager/qt-s60/s60devicespreferencepane.cpp" line="+96"/> + <location filename="../../../src/plugins/qt4projectmanager/qt-s60/s60devicespreferencepane.cpp" line="+114"/> <source>S60 SDKs</source> <translation>S60 SDKs</translation> </message> + <message> + <location filename="../../../src/plugins/qt4projectmanager/qt-s60/s60devicespreferencepane.ui"/> + <source>Error</source> + <translation>Fehler</translation> + </message> </context> <context> <name>Qt4ProjectManager::Internal::S60DevicesWidget</name> <message> - <location line="-28"/> + <location filename="../../../src/plugins/qt4projectmanager/qt-s60/s60devicespreferencepane.cpp" line="-46"/> <source>No Qt installed</source> <translation>Qt ist nicht installiert</translation> </message> @@ -12709,7 +12812,7 @@ Installiere Anwendung auf '%2'...</translation> <context> <name>QApplication</name> <message> - <location line="+870"/> + <location line="+869"/> <source>The Qt Version has no toolchain.</source> <translation>Dieser Qt-Version ist keine Toolchain zugeordnet.</translation> </message> @@ -12717,162 +12820,146 @@ Installiere Anwendung auf '%2'...</translation> <context> <name>QtModulesInfo</name> <message> - <location filename="../../../src/plugins/qt4projectmanager/qtmodulesinfo.cpp" line="+54"/> <source>QtCore Module</source> - <translation>QtCore-Modul</translation> + <translation type="obsolete">QtCore-Modul</translation> </message> <message> - <location line="+1"/> + <location filename="../../../src/plugins/qt4projectmanager/qtmodulesinfo.cpp" line="+55"/> <source>Core non-GUI classes used by other modules</source> <translation>Basisklassen (nicht-GUI), die von anderen Modulen verwendet werden</translation> </message> <message> - <location line="+3"/> <source>QtGui Module</source> - <translation>QtGui-Modul</translation> + <translation type="obsolete">QtGui-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Graphical user interface components</source> <translation>Komponenten für graphische Benutzeroberflächen</translation> </message> <message> - <location line="+3"/> <source>QtNetwork Module</source> - <translation>QtNetwork-Modul</translation> + <translation type="obsolete">QtNetwork-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Classes for network programming</source> <translation>Klassen für Netzwerkprogrammierung</translation> </message> <message> - <location line="+3"/> <source>QtOpenGL Module</source> - <translation>QtOpenGL-Modul</translation> + <translation type="obsolete">QtOpenGL-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>OpenGL support classes</source> <translation>Klassen fürOpenGL-Unterstützung</translation> </message> <message> - <location line="+3"/> <source>QtSql Module</source> - <translation>QtSql-Modul</translation> + <translation type="obsolete">QtSql-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Classes for database integration using SQL</source> <translation>Klassen für Datenbankintegration unter Verwendung von SQL</translation> </message> <message> - <location line="+3"/> <source>QtScript Module</source> - <translation>QtScript-Modul</translation> + <translation type="obsolete">QtScript-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Classes for evaluating Qt Scripts</source> <translation>Klassen für die Auswertung von Qt-Skripten</translation> </message> <message> - <location line="+3"/> <source>QtScriptTools Module</source> - <translation>QtScriptTools-Modul</translation> + <translation type="obsolete">QtScriptTools-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Additional Qt Script components</source> <translation>Zusätzliche Qt-Skript-Komponenten</translation> </message> <message> - <location line="+3"/> <source>QtSvg Module</source> - <translation>QtSvg-Modul</translation> + <translation type="obsolete">QtSvg-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Classes for displaying the contents of SVG files</source> <translation>Klassen zur Anzeige des Inhalts von SVG-Dateien</translation> </message> <message> - <location line="+3"/> <source>QtWebKit Module</source> - <translation>QtWebKit-Modul</translation> + <translation type="obsolete">QtWebKit-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Classes for displaying and editing Web content</source> <translation>Klassen zum Anzeigen und Bearbeiten von Web-Inhalten</translation> </message> <message> - <location line="+3"/> <source>QtXml Module</source> - <translation>QtXml-Modul</translation> + <translation type="obsolete">QtXml-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Classes for handling XML</source> <translation>Klassen zur Behandlung von XML</translation> </message> <message> - <location line="+3"/> <source>QtXmlPatterns Module</source> - <translation>QtXmlPatterns-Modul</translation> + <translation type="obsolete">QtXmlPatterns-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>An XQuery/XPath engine for XML and custom data models</source> <translation>Ein XQuery/XPath-Engine für XML und benutzerdefinierte Datenmodelle</translation> </message> <message> - <location line="+3"/> <source>Phonon Module</source> - <translation>Phonon-Modul</translation> + <translation type="obsolete">Phonon-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Multimedia framework classes</source> <translation>Multimedia-Framework</translation> </message> <message> - <location line="+3"/> <source>QtMultimedia Module</source> - <translation>QtMultimedia-Modul</translation> + <translation type="obsolete">QtMultimedia-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Classes for low-level multimedia functionality</source> <translation>Klassen für Multimedia-Funktionalität</translation> </message> <message> - <location line="+3"/> <source>Qt3Support Module</source> - <translation>Qt3Support-Modul</translation> + <translation type="obsolete">Qt3Support-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Classes that ease porting from Qt 3 to Qt 4</source> <translation>Klassen, die die Portierung von Qt 3 nach Qt 4 erleichtern</translation> </message> <message> - <location line="+3"/> <source>QtTest Module</source> - <translation>QtTest-Modul</translation> + <translation type="obsolete">QtTest-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Tool classes for unit testing</source> <translation>Hilfsklassen zum Unit-Testen</translation> </message> <message> - <location line="+3"/> <source>QtDBus Module</source> - <translation>QtDBus-Modul</translation> + <translation type="obsolete">QtDBus-Modul</translation> </message> <message> - <location line="+1"/> + <location line="+4"/> <source>Classes for Inter-Process Communication using the D-Bus</source> <translation>Klassen zur Interprozess-Kommunikation unter Verwendung von D-BUS</translation> </message> @@ -13970,7 +14057,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich <context> <name>TextEditor::BaseTextEditorEditable</name> <message> - <location line="+4324"/> + <location line="+4346"/> <source>Line: %1, Col: %2</source> <translation>Zeile: %1, Spalte: %2</translation> </message> @@ -14651,7 +14738,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen:</translation> <translation>Ctrl+Alt+Down</translation> </message> <message> - <location line="+92"/> + <location line="+94"/> <source><line number></source> <translation><Zeilennummer></translation> </message> @@ -15008,7 +15095,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen:</translation> <context> <name>Utils::DetailsButton</name> <message> - <location filename="../../../src/libs/utils/detailsbutton.cpp" line="+19"/> + <location filename="../../../src/libs/utils/detailsbutton.cpp" line="+48"/> <source>Show Details</source> <translation>Details anzeigen</translation> </message> @@ -15837,7 +15924,7 @@ Qt Centre</translation> <context> <name>Debugger::Internal::TermGdbAdapter</name> <message> - <location filename="../../../src/plugins/debugger/gdb/termgdbadapter.cpp" line="+176"/> + <location filename="../../../src/plugins/debugger/gdb/termgdbadapter.cpp" line="+177"/> <source>Debugger Error</source> <translation>Debugger-Fehler</translation> </message> @@ -16024,7 +16111,7 @@ Qt Centre</translation> <context> <name>trk::Session</name> <message> - <location filename="../../../src/shared/trk/trkutils.cpp" line="+79"/> + <location filename="../../../src/shared/trk/trkutils.cpp" line="+82"/> <source>CPU: v%1.%2%3%4</source> <extracomment>CPU description of an S60 device %1 major verison, %2 minor version %3 real name of major verison, %4 real name of minor version</extracomment> <translation>CPU: v%1.%2%3%4</translation> diff --git a/src/plugins/bookmarks/bookmarkmanager.cpp b/src/plugins/bookmarks/bookmarkmanager.cpp index 9ace86ec35117de3de5e0d6c13dd115f3e6b2191..71507d4d6d6556bd50cd89ca9d88b8602f2a1e7f 100644 --- a/src/plugins/bookmarks/bookmarkmanager.cpp +++ b/src/plugins/bookmarks/bookmarkmanager.cpp @@ -493,11 +493,10 @@ Bookmark *BookmarkManager::bookmarkForIndex(QModelIndex index) bool BookmarkManager::gotoBookmark(Bookmark* bookmark) { - if (!TextEditor::BaseTextEditor::openEditorAt(bookmark->filePath(), bookmark->lineNumber())) { - // Could not open editor - return false; - } - return true; + using namespace TextEditor; + if (ITextEditor *editor = BaseTextEditor::openEditorAt(bookmark->filePath(), bookmark->lineNumber())) + return (editor->currentLine() == bookmark->lineNumber()); + return false; } void BookmarkManager::nextInDocument() diff --git a/src/plugins/cpptools/cppcodecompletion.cpp b/src/plugins/cpptools/cppcodecompletion.cpp index 31f01d4d28786d246f757d5d849634b07e482b02..0b8e05c40a8347acde7dba945f469f1ca3fcdbc3 100644 --- a/src/plugins/cpptools/cppcodecompletion.cpp +++ b/src/plugins/cpptools/cppcodecompletion.cpp @@ -1515,10 +1515,17 @@ void CppCodeCompletion::completions(QList<TextEditor::CompletionItem> *completio } const QRegExp regExp(keyRegExp); + const bool hasKey = !key.isEmpty(); foreach (TextEditor::CompletionItem item, m_completions) { if (regExp.indexIn(item.text) == 0) { - item.relevance = (key.length() > 0 && - item.text.startsWith(key, Qt::CaseInsensitive)) ? 1 : 0; + if (hasKey) { + if (item.text.startsWith(key, Qt::CaseSensitive)) { + item.relevance = 2; + } else if (m_caseSensitivity == Qt::CaseInsensitive + && item.text.startsWith(key, Qt::CaseInsensitive)) { + item.relevance = 1; + } + } (*completions) << item; } } diff --git a/src/plugins/debugger/debuggeragents.cpp b/src/plugins/debugger/debuggeragents.cpp index e4e52910fc9184d64e3e56fe95dbf96ed7e3f6ff..317dd150085c01f67aedd94f7ae4f67a30576213 100644 --- a/src/plugins/debugger/debuggeragents.cpp +++ b/src/plugins/debugger/debuggeragents.cpp @@ -106,7 +106,7 @@ void MemoryViewAgent::init(quint64 addr) m_manager->showMessageBox(QMessageBox::Warning, tr("No memory viewer available"), tr("The memory contents cannot be shown as no viewer plugin " - "for binary data has been loaded.")); + "for binary data has been loaded.")); deleteLater(); } } diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 5353589390fb660333134130ddb02d4ee572908b..86e395181c3222dc18c6bdf5a481c257b41be648 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -833,7 +833,6 @@ int GdbEngine::commandTimeoutTime() const void GdbEngine::commandTimeout() { - qDebug("TIMEOUT"); QList<int> keys = m_cookieForToken.keys(); qSort(keys); bool killIt = false; @@ -851,10 +850,10 @@ void GdbEngine::commandTimeout() debugMessage(_("TIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS:")); int timeOut = m_commandTimer->interval(); //m_commandTimer->stop(); - QString msg = tr("The gdb process has not produced any response " - "to a command within %1 seconds. This may been it is stuck " + const QString msg = tr("The gdb process has not responded " + "to a command within %1 seconds. This could mean it is stuck " "in an endless loop or taking longer than expected to perform " - "the operation it was reqested.\nYou have a choice of waiting " + "the operation.\nYou can choose between waiting " "longer or abort debugging.").arg(timeOut / 1000); QMessageBox *mb = showMessageBox(QMessageBox::Critical, tr("Gdb not responding"), msg, @@ -3453,6 +3452,17 @@ void GdbEngine::handleDebuggingHelperValue2(const GdbResponse &response) WatchData data = response.cookie.value<WatchData>(); QTC_ASSERT(data.isValid(), return); + // The real dumper might have aborted without giving any answers. + // Remove traces of the question, too. + if (m_cookieForToken.contains(response.token - 1)) { + m_cookieForToken.remove(response.token - 1); + debugMessage(_("DETECTING LOST COMMAND %1").arg(response.token - 1)); + --m_pendingRequests; + data.setError(WatchData::msgNotInScope()); + insertData(data); + return; + } + //qDebug() << "CUSTOM VALUE RESULT:" << response.toString(); //qDebug() << "FOR DATA:" << data.toString() << response.resultClass; if (response.resultClass != GdbResultDone) { diff --git a/src/plugins/debugger/gdb/gdboptionspage.ui b/src/plugins/debugger/gdb/gdboptionspage.ui index 55f813f5be544ce77d7cc45ac3621cb1965afc07..31fe770d10a470d2a75e987a5225887ee4052d46 100644 --- a/src/plugins/debugger/gdb/gdboptionspage.ui +++ b/src/plugins/debugger/gdb/gdboptionspage.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>397</width> - <height>322</height> + <width>480</width> + <height>371</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> @@ -37,7 +37,7 @@ </widget> </item> <item row="0" column="1"> - <widget class="Utils::PathChooser" name="gdbLocationChooser" native="true"/> + <widget class="Utils::PathChooser" name="gdbLocationChooser"/> </item> <item row="1" column="0"> <widget class="QLabel" name="labelEnvironment"> @@ -63,7 +63,7 @@ </widget> </item> <item row="2" column="1"> - <widget class="Utils::PathChooser" name="scriptFileChooser" native="true"/> + <widget class="Utils::PathChooser" name="scriptFileChooser"/> </item> <item row="3" column="0" colspan="2"> <widget class="QCheckBox" name="checkBoxUsePreciseBreakpoints"> @@ -88,11 +88,11 @@ name in different directories.</string> <item row="4" column="1"> <widget class="QSpinBox" name="spinBoxGdbWatchdogTimeout"> <property name="toolTip"> - <string>This is the number of second Qt Creator will wait before -it terminates non-reacting gdb process. The default value of 20 seconds + <string>This is the number of seconds Qt Creator will wait before +it terminates non-responsive gdb process. The default value of 20 seconds should be sufficient for most applications, but there are situations when loading big libraries or listing source files takes much longer than that -on slow machines. In this case the value should be increased.</string> +on slow machines. In this case, the value should be increased.</string> </property> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index bfd89eae8c8e4753420479df5af058ed1fd8214e..001d77ebae72cf5968b89bd6b8814c30d8f24e1c 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -3634,11 +3634,11 @@ QString BaseTextEditor::autoComplete(QTextCursor &cursor, const QString &textToI const QString brackets = QLatin1String("[]"); if (parentheses.contains(character) || brackets.contains(character)) { QTextCursor tmp= cursor; - TextEditor::TextBlockUserData::findPreviousBlockOpenParenthesis(&tmp); - int blockStart = tmp.isNull() ? 0 : tmp.position(); + bool foundBlockStart = TextEditor::TextBlockUserData::findPreviousBlockOpenParenthesis(&tmp); + int blockStart = foundBlockStart ? tmp.position() : 0; tmp = cursor; - TextEditor::TextBlockUserData::findNextBlockClosingParenthesis(&tmp); - int blockEnd = tmp.isNull() ? (cursor.document()->characterCount()-1) : tmp.position(); + bool foundBlockEnd = TextEditor::TextBlockUserData::findNextBlockClosingParenthesis(&tmp); + int blockEnd = foundBlockEnd ? tmp.position() : (cursor.document()->characterCount() - 1); const QChar openChar = parentheses.contains(character) ? QLatin1Char('(') : QLatin1Char('['); const QChar closeChar = parentheses.contains(character) ? QLatin1Char(')') : QLatin1Char(']'); diff --git a/src/plugins/texteditor/basetextmark.cpp b/src/plugins/texteditor/basetextmark.cpp index 0d50a7111e56ec28ccd80975b1eece9bac5b9814..cc64f152bf1c7b4d2beb110a13f7b3ea4e1cd5b8 100644 --- a/src/plugins/texteditor/basetextmark.cpp +++ b/src/plugins/texteditor/basetextmark.cpp @@ -72,7 +72,12 @@ void BaseTextMark::editorOpened(Core::IEditor *editor) if (m_markableInterface == 0) { // We aren't added to something m_markableInterface = textEditor->markableInterface(); m_internalMark = new InternalMark(this); - m_markableInterface->addMark(m_internalMark, m_line); + + if (!m_markableInterface->addMark(m_internalMark, m_line)) { + delete m_internalMark; + m_internalMark = 0; + m_markableInterface = 0; + } } } }