?? fastmm4messages.pas
字號:
{
Fast Memory Manager: Messages
Simplified Chinese translation by JiYuan Xie.
}
unit FastMM4Messages;
interface
{$Include FastMM4Options.inc}
const
{The name of the debug info support DLL}
FullDebugModeLibraryName = 'FastMM_FullDebugMode.dll';
{Event log strings}
LogFileExtension = '_MemoryManager_EventLog.txt'#0;
CRLF = #13#10;
EventSeparator = '--------------------------------';
{Class name messages}
UnknownClassNameMsg = '未知';
{Stack trace Message}
CurrentStackTraceMsg = #13#10#13#10'導致該錯誤的當前堆棧跟蹤(調用返回地址): ';
{Memory dump message}
MemoryDumpMsg = #13#10#13#10'由指針所指地址開始, 256字節的內存當前的內容 ';
{Block Error Messages}
BlockScanLogHeader = '被 LogAllocatedBlocksToFile 記錄的已分配內存塊. 大小是: ';
ErrorMsgHeader = 'FastMM 已檢測到一個錯誤, 當時正在進行 ';
GetMemMsg = 'GetMem';
FreeMemMsg = 'FreeMem';
ReallocMemMsg = 'ReallocMem';
BlockCheckMsg = '掃描自由內存塊';
OperationMsg = ' 操作. ';
BlockHeaderCorruptedMsg = '內存塊頭部內容已被破壞. ';
BlockFooterCorruptedMsg = '內存塊尾部內容已被破壞. ';
FreeModifiedErrorMsg = 'FastMM 檢測到對已釋放內存塊內容的修改. ';
DoubleFreeErrorMsg = '試圖釋放/重新分配一個尚未分配的內存塊.';
PreviousBlockSizeMsg = #13#10#13#10'上次使用時的內存塊大小是: ';
CurrentBlockSizeMsg = #13#10#13#10'內存塊的大小是: ';
StackTraceAtPrevAllocMsg = #13#10#13#10'該內存塊上次被分配時的堆棧跟蹤(調用返回地址):';
StackTraceAtAllocMsg = #13#10#13#10'該內存塊本次被分配時的堆棧跟蹤(調用返回地址):';
PreviousObjectClassMsg = #13#10#13#10'該內存塊上次被用于一個屬于以下類的對象: ';
CurrentObjectClassMsg = #13#10#13#10'該內存塊當前被用于一個屬于以下類的對象: ';
PreviousAllocationGroupMsg = #13#10#13#10'分配組是: ';
PreviousAllocationNumberMsg = #13#10#13#10'分配號碼是: ';
CurrentAllocationGroupMsg = #13#10#13#10'分配組是: ';
CurrentAllocationNumberMsg = #13#10#13#10'分配號碼是: ';
StackTraceAtFreeMsg = #13#10#13#10'該內存塊上次被釋放時的堆棧跟蹤(調用返回地址):';
BlockErrorMsgTitle = '檢測到內存錯誤';
{Virtual Method Called On Freed Object Errors}
StandardVirtualMethodNames: array[1 + vmtParent div 4 .. -1] of PChar = (
'SafeCallException',
'AfterConstruction',
'BeforeDestruction',
'Dispatch',
'DefaultHandler',
'NewInstance',
'FreeInstance',
'Destroy');
VirtualMethodErrorHeader = 'FastMM 檢測到對已釋放對象的虛方法的調用. 一個訪問沖突異常現在將被引發以中止當前的操作.';
InterfaceErrorHeader = 'FastMM 檢測到對已釋放對象的接口的使用. 一個訪問沖突異常現在將被引發以中止當前的操作.';
BlockHeaderCorruptedNoHistoryMsg = ' 不幸地, 由于內存塊頭部的內容已被破壞, 無法得到該內存塊的使用歷史.';
FreedObjectClassMsg = #13#10#13#10'被釋放的對象所屬的類: ';
VirtualMethodName = #13#10#13#10'虛方法: ';
VirtualMethodOffset = '偏移地址 +';
VirtualMethodAddress = #13#10#13#10'虛方法的地址: ';
StackTraceAtObjectAllocMsg = #13#10#13#10'該對象被分配時的堆棧跟蹤(調用返回地址):';
StackTraceAtObjectFreeMsg = #13#10#13#10'該對象隨后被釋放時的堆棧跟蹤(調用返回地址):';
{Installation Messages}
AlreadyInstalledMsg = 'FastMM4 已經被安裝';
AlreadyInstalledTitle = '已經加載';
OtherMMInstalledMsg = 'FastMM4 無法被安裝, 因為其他第三方內存管理器已先自行安裝.'
+ #13#10'如果你想使用FastMM4, 請確認在你項目的 .dpr 文件的 "uses" 部分中, '
+ #13#10'FastMM4.pas 是第一個被使用的單元.';
OtherMMInstalledTitle = '無法安裝FastMM4 - 其他內存管理器已先被安裝';
MemoryAllocatedMsg = 'FastMM4 無法安裝, 因為此前已通過默認內存管理器分配了內存.'
+ #13#10'FastMM4.pas 必須是你項目的 .dpr 文件中第一個被使用的單元, 否則可能在'
+ #13#10'FastMM4 得到控制權之前, 應用程序已經通過默認內存管理器分配了內存.'
+ #13#10#13#10'如果你使用了異常捕捉工具, 象 MadExcept(或任何將修改單元初始化順序的工具),'
+ #13#10'請到它的配置頁面,確保 FastMM4.pas 單元在任何其他單元之前被初始化.';
MemoryAllocatedTitle = '無法安裝 FastMM4 - 之前已經分配了內存';
{Leak checking messages}
LeakLogHeader = '一個內存塊已泄露. 大小是: ';
LeakMessageHeader = '這個應用程序存在內存泄露. ';
SmallLeakDetail = '小內存塊的泄露有'
{$ifdef HideExpectedLeaksRegisteredByPointer}
+ ' (不包括已按指針注冊的預知泄露)'
{$endif}
+ ':'#13#10;
LargeLeakDetail = '已泄露的中等及大內存塊的大小是'
{$ifdef HideExpectedLeaksRegisteredByPointer}
+ ' (不包括已按指針注冊的預知泄露)'
{$endif}
+ ': ';
BytesMessage = ' 字節: ';
StringBlockMessage = '字符串';
LeakMessageFooter = #13#10
{$ifndef HideMemoryLeakHintMessage}
+ #13#10'注意: '
{$ifdef RequireIDEPresenceForLeakReporting}
+ '只有當 Delphi 同時運行在同一計算機上時才會進行內存泄露檢查. '
{$endif}
{$ifdef FullDebugMode}
{$ifdef LogMemoryLeakDetailToFile}
+ '內存泄露的詳細信息已經被記錄到與本應用程序同一目錄下的一個文本文件中. '
{$else}
+ '請啟用 "LogMemoryLeakDetailToFile" 條件編譯開關以得到一個包含關于內存泄露的詳細信息的日志文件. '
{$endif}
{$else}
+ '要得到一個包含關于內存泄露的詳細信息的日志文件, 請啟用 "FullDebugMode" 和 "LogMemoryLeakDetailToFile" 條件編譯開關. '
{$endif}
+ '要禁止內存泄露檢查, 請關閉 "EnableMemoryLeakReporting" 條件編譯開關.'#13#10
{$endif}
+ #0;
LeakMessageTitle = '檢測到內存泄露';
{$ifdef UseOutputDebugString}
FastMMInstallMsg = 'FastMM 已被安裝.';
FastMMInstallSharedMsg = '正共用一個已存在的 FastMM 實例.';
FastMMUninstallMsg = 'FastMM 已被卸載.';
FastMMUninstallSharedMsg = '已停止共用一個已存在的 FastMM 實例.';
{$endif}
{$ifdef DetectMMOperationsAfterUninstall}
InvalidOperationTitle = '卸載之后發生了 MM 操作.';
InvalidGetMemMsg = 'FastMM 檢測到在 FastMM 被卸載之后調用了 GetMem.';
InvalidFreeMemMsg = 'FastMM 檢測到在 FastMM 被卸載之后調用了 FreeMem.';
InvalidReallocMemMsg = 'FastMM 檢測到在 FastMM 被卸載之后調用了 ReallocMem.';
InvalidAllocMemMsg = 'FastMM 檢測到在 FastMM 被卸載之后調用了 AllocMem.';
{$endif}
implementation
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -