View Issue Details

IDProjectCategoryView StatusLast Update
0006740JEDI Code LibraryJclDebug*public2022-02-22 17:46
ReporterBLatourAssigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformWindowsOSWindowsOS Version11
Product Version 
Target VersionFixed in Version 
Summary0006740: Exception in the DEBUG expert when compiling a Language DLL
DescriptionJCL Version : 2.8.0.5677

I am working on an important project (more than 100 forms) in which I have integrated the JDBG DEBUG file in order to get the memory trace when exceptions are encountered.
Everything works correctly in the application which is compiled and which is in French.

This application is translated into English through a resource DLL (system provided by Delphi).

When we compile the language DLL, we get an exception in the debug expert. The DLL is still generated but there are strings that are mixed up in the translation!

I think that the expert should not be executed when compiling the language DLL. Unfortunately, I can't disable the expert in the DLL and keep it in the application.

What should I do?

Additional InformationException class name: EJclExpertException
Exception message: Project options are not available
(001B5D9B){Jcl250.bpl } [481B6D9B] JclDebug.TJclGlobalModulesList.CreateModulesList + $157
(001B6518){Jcl250.bpl } [481B7518] JclDebug.TJclStackInfoList.Create + $B8
(001B612E){Jcl250.bpl } [481B712E] JclDebug.JclCreateStackList + $1A
(0000C7CA){JclBaseExpert250.bpl} [5800D7CA] JclOtaUtils.EJclExpertException.AfterConstruction + $12
(0000F039){rtl250.bpl } [50060039] System.@AfterConstruction (Line 18304, "System.pas" + 2) + $5
(0004BCCD){rtl250.bpl } [5009CCCD] System.SysUtils.Exception.CreateRes (Line 22906, "System.SysUtils.pas" + 2) + $6
(0000E123){JclBaseExpert250.bpl} [5800F123] JclOtaUtils.TJclOTAExpertBase.GetOutputDirectory + $67
(00005038){JclDebugExpert250.bpl} [58156038] JclDebugIdeImpl.TJclDebugExtension.AfterCompile + $7C
(000087D1){JclDebugExpert250.bpl} [581597D1] JclDebugIdeImpl.TIdeNotifier.AfterCompile + $1D
(003F6157){coreide250.bpl} [208A7157] IDEServices.AfterCompile (Line 5303, "IDEServices.pas" + 11) + $21
(0009346F){coreide250.bpl} [2054446F] ProjectGroupBuilder.TProjectGroupBuilder.NotifyAfterCompile (Line 370, "ProjectGroupBuilder.pas" + 8) + $B
(0011A670){rtl250.bpl } [5016B670] System.Classes.TThread.Synchronize (Line 15502, "System.Classes.pas" + 5) + $0
(0011A891){rtl250.bpl } [5016B891] System.Classes.TThread.Synchronize (Line 15558, "System.Classes.pas" + 6) + $3
(00086574){coreide250.bpl} [20537574] BuildHost.TBuildHost.Synchronize (Line 446, "BuildHost.pas" + 1) + $D
(000931F6){coreide250.bpl} [205441F6] ProjectGroupBuilder.TProjectGroupBuilder.MakeThingsHappen (Line 334, "ProjectGroupBuilder.pas" + 134) + $11
(000A5131){rtl250.bpl } [500F6131] System.Rtti.RawInvoke (Line 7760, "System.Rtti.pas" + 47) + $1
(000A5533){rtl250.bpl } [500F6533] System.Rtti.Invoke (Line 7981, "System.Rtti.pas" + 79) + $A
(0009C3C4){rtl250.bpl } [500ED3C4] System.Rtti.TRttiInstanceMethodEx.DispatchInvoke (Line 5892, "System.Rtti.pas" + 101) + $24
(000A59CC){rtl250.bpl } [500F69CC] System.Rtti.TRttiMethod.Invoke (Line 9232, "System.Rtti.pas" + 2) + $1
(000C78A0){bds.exe } [004C88A0] SanctuaryChecker.TLicenseManager.TryAction (Line 1594, "SanctuaryChecker.pas" + 14) + $10
(00092CF3){coreide250.bpl} [20543CF3] ProjectGroupBuilder.TProjectGroupBuilder.DoBuild (Line 186, "ProjectGroupBuilder.pas" + 2) + $2B
(00086160){coreide250.bpl} [20537160] BuildHost.TBuildHost.Perform (Line 369, "BuildHost.pas" + 19) + $8
(00073A46){coreide250.bpl} [20524A46] ComPrgrs.TProgressForm.StartCompile (Line 209, "ComPrgrs.pas" + 8) + $C
(00074336){coreide250.bpl} [20525336] ComPrgrs.TProgressForm.HandleCompileMessage (Line 362, "ComPrgrs.pas" + 0) + $2
(00033C5E){vcl250.bpl } [50AE4C5E] Vcl.Controls.TControl.WndProc (Line 7338, "Vcl.Controls.pas" + 91) + $6
(0000ED9F){rtl250.bpl } [5005FD9F] System.TObject.Dispatch (Line 17812, "System.pas" + 11) + $0
(00007A76){themeloader250.bpl} [104D8A76] Idetheme.Vclstylehooks.TIDEStyleHook.WndProc + $7A
(00016898){rtl250.bpl } [50067898] System.@IntfClear (Line 37239, "System.pas" + 10) + $0
(0000752B){themeloader250.bpl} [104D852B] Idetheme.Vclstylehooks.TIDEStyleHook.HandleMessage + $B7
(00016898){rtl250.bpl } [50067898] System.@IntfClear (Line 37239, "System.pas" + 10) + $0
(00012F40){rtl250.bpl } [50063F40] System.@FinalizeArray (Line 32154, "System.pas" + 139) + $0
(0003E7F6){themeloader250.bpl} [1050F7F6] Idetheme.Stylemanager.TIDEThemeStyleEngine.UnRegisterSysStyleHook + $106
(000382B8){vcl250.bpl } [50AE92B8] Vcl.Controls.TWinControl.WndProc (Line 10053, "Vcl.Controls.pas" + 10) + $48
(00038843){vcl250.bpl } [50AE9843] Vcl.Controls.TWinControl.WndProc (Line 10209, "Vcl.Controls.pas" + 166) + $6
(00177469){vcl250.bpl } [50C28469] Vcl.Forms.TCustomForm.WndProc (Line 4572, "Vcl.Forms.pas" + 209) + $5
(00037E10){vcl250.bpl } [50AE8E10] Vcl.Controls.TWinControl.MainWndProc (Line 9908, "Vcl.Controls.pas" + 3) + $6
(0011DBCC){rtl250.bpl } [5016EBCC] System.Classes.StdWndProc (Line 17408, "System.Classes.pas" + 11) + $2
(00012F30){rtl250.bpl } [50063F30] System.@FinalizeArray (Line 32142, "System.pas" + 127) + $0
(00012F40){rtl250.bpl } [50063F40] System.@FinalizeArray (Line 32154, "System.pas" + 139) + $0
(00012E0C){rtl250.bpl } [50063E0C] System.@FinalizeRecord (Line 31861, "System.pas" + 25) + $0
(00229572){CnWizards_D102T.DLL} [15A2A572] Unknown function at INITWIZARD0001 + $1571AE
(0009BE22){CnWizards_D102T.DLL} [1589CE22] Unknown function at __dbk_fcall_wrapper + $9B102
(00180E1F){vcl250.bpl } [50C31E1F] Vcl.Forms.TApplication.ProcessMessage (Line 10641, "Vcl.Forms.pas" + 23) + $1
(00180E62){vcl250.bpl } [50C31E62] Vcl.Forms.TApplication.HandleMessage (Line 10671, "Vcl.Forms.pas" + 1) + $4
(0017C21E){vcl250.bpl } [50C2D21E] Vcl.Forms.TCustomForm.ShowModal (Line 7393, "Vcl.Forms.pas" + 33) + $5
(00085BAE){coreide250.bpl} [20536BAE] BuildHost.TBuildHost.Build (Line 231, "BuildHost.pas" + 55) + $9
(0008575C){coreide250.bpl} [2053675C] BuildHost.Build (Line 136, "BuildHost.pas" + 4) + $A
(00092B05){coreide250.bpl} [20543B05] ProjectGroupBuilder.BuildProjects (Line 146, "ProjectGroupBuilder.pas" + 1) + $17
(001ADB18){coreide250.bpl} [2065EB18] ProjectManagerMenus.TPMMBuildProject.Execute (Line 200, "ProjectManagerMenus.pas" + 12) + $21
(0005CB8E){coreide250.bpl} [2050DB8E] ContainerIntf.TProjectManagerMenuItem.Click (Line 1110, "ContainerIntf.pas" + 18) + $22
(00165D18){vcl250.bpl } [50C16D18] Vcl.Menus.TMenu.DispatchCommand (Line 3482, "Vcl.Menus.pas" + 5) + $4
(00166FAA){vcl250.bpl } [50C17FAA] Vcl.Menus.TPopupList.WndProc (Line 4655, "Vcl.Menus.pas" + 4) + $E
(00166EF9){vcl250.bpl } [50C17EF9] Vcl.Menus.TPopupList.MainWndProc (Line 4630, "Vcl.Menus.pas" + 2) + $5
(0011DBCC){rtl250.bpl } [5016EBCC] System.Classes.StdWndProc (Line 17408, "System.Classes.pas" + 11) + $2
(00012F30){rtl250.bpl } [50063F30] System.@FinalizeArray (Line 32142, "System.pas" + 127) + $0
(00012F40){rtl250.bpl } [50063F40] System.@FinalizeArray (Line 32154, "System.pas" + 139) + $0
(00012E0C){rtl250.bpl } [50063E0C] System.@FinalizeRecord (Line 31861, "System.pas" + 25) + $0
(00229572){CnWizards_D102T.DLL} [15A2A572] Unknown function at INITWIZARD0001 + $1571AE
(0009BE22){CnWizards_D102T.DLL} [1589CE22] Unknown function at __dbk_fcall_wrapper + $9B102
(00180E1F){vcl250.bpl } [50C31E1F] Vcl.Forms.TApplication.ProcessMessage (Line 10641, "Vcl.Forms.pas" + 23) + $1
(00180E62){vcl250.bpl } [50C31E62] Vcl.Forms.TApplication.HandleMessage (Line 10671, "Vcl.Forms.pas" + 1) + $4
(00181195){vcl250.bpl } [50C32195] Vcl.Forms.TApplication.Run (Line 10809, "Vcl.Forms.pas" + 26) + $3
(001078F2){bds.exe } [005088F2] bds.bds (Line 212, "" + 7) + $7
TagsNo tags attached.
Fixed in GIT commit
Fixed in SVN revision
IDE version10.2

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-02-22 17:46 BLatour New Issue