IDE, Debugger: Updated "debugger error" msg.

This commit is contained in:
Martin 2022-12-02 02:27:49 +01:00
parent a9cb3d0967
commit dccfe2257d
2 changed files with 5 additions and 6 deletions

View File

@ -1449,8 +1449,7 @@ begin
// shutting down lazarus may kill gdb, so we get an error
if not Application.Terminated
then FeedbackDlg.ExecuteFeedbackDialog
(Format(lisDebuggerErrorOoopsTheDebuggerEnteredTheErrorState,
[LineEnding+LineEnding, LineEnding, LineEnding+LineEnding])
(Format(lisDebuggerErrorOoopsTheDebuggerEnteredTheErrorState, [LineEnding])
+ LineEnding + LineEnding + FDebugger.ErrorStateMessage,
FDebugger.ErrorStateInfo, ftError, [frStop]);
end;

View File

@ -4184,10 +4184,10 @@ resourcestring
lisMacroPromptEnterRunParameters = 'Enter run parameters';
// debugger
lisDebuggerErrorOoopsTheDebuggerEnteredTheErrorState = 'Debugger error'
+'%sOoops, the debugger entered the error state'
+'%sSave your work now !'
+'%sHit Stop, and hope the best, we''re pulling the plug.';
lisDebuggerErrorOoopsTheDebuggerEnteredTheErrorState =
'The debugger encountered an internal error.'
+'%0:s%0:sSave your work.'
+'%0:sYou may then hit "Stop", or "Reset debugger" to terminate the debug session.';
lisExecutionStopped = 'Execution stopped';
lisExecutionStoppedExitCode = 'Execution stopped with exit-code %1:d ($%2:s)';
lisFileNotFound = 'File not found';