; --------------------------------------------------------------------------------------------; Copyright (c) Fantaisie Software. All rights reserved.; Dual licensed under the GPL and Fantaisie Software licenses.; See LICENSE and LICENSE-FANTAISIE in the project root for license information.; --------------------------------------------------------------------------------------------; Do not use OnError if the real debugger is present (for better debugging); Note: OnError() isn't supported on Windows arm64 for now so disable itCompilerIf #PB_Compiler_Debugger = 0 And (#CompileWindows = 0 Or #PB_Compiler_Processor <> #PB_Processor_Arm64)ErrorHandler_Called = #FalseGoto ErrorHandler_EndErrorHandler:If ErrorHandler_Called ; avoid changed calls if something goes wrong in here tooEndEndIfErrorHandler_Called = #TrueCompilerIf #DEBUGMessage$ = "Error: " + ErrorMessage() + #NewLineMessage$ + "File : " + ErrorFile() + #NewLineMessage$ + "Line : " + Str(ErrorLine()) + #NewLineCompilerElseMessage$ = "An Error has been detected in the IDE!" + #NewLineMessage$ + "Error: " + ErrorMessage() + #NewLineIf ErrorLine() <> -1Message$ + "File : " + ErrorFile() + #NewLineMessage$ + "Line : " + Str(ErrorLine()) + #NewLineEndIfCompilerEndIfMessage$ + #NewLineMessage$ + "IDE build on " + FormatDate("%mm/%dd/%yyyy [%hh:%ii]", #PB_Compiler_Date) + " by " + #BUILDINFO_User + #NewLineMessage$ + "Branch: " + #BUILDINFO_Branch + " Revision: " + #BUILDINFO_RevisionMessageRequester("Error", Message,ドル #FLAG_Error)If (CompilerProgram)KillProgram(CompilerProgram)CloseProgram(CompilerProgram)EndIf; delete temporary files to not leave them foreverDeleteRegisteredFiles()CompilerCleanup(); NOTE: We do not try to save sourcecodes here, as the reason for this; crash could have also messed them up. Better to loose the recent changes; than to loose the whole file, because it was corrupted here.;; A backup functionality should solve this sometime in the future... :)EndErrorHandler_End:OnErrorGoto(?ErrorHandler)CompilerEndIf
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。