Disconnected Session when debugging Excel App

Add-in Express™ Support Service
That's what is more important than anything else

Disconnected Session when debugging Excel App
Disconnected Session when debugging Excel App 
George Spears




Posts: 79
Joined: 2010-05-06
Hello,

Delphi app... Excel 64 bit plugin. Worked fine with Delphi Rio. Upgraded to Delphi Alexandria. Delphi is current with all patches. After some minor tweaks (adding a few new Uses clauses), compiles fine. Went to continue working, and now when I try to debug app, I get an immediate disconnected session error. Delphi still continues to use CPU, but is totally non-responsive. Here is the log that the 'Disconnected session' window gives. In searching Google, I see mention of clearing Debug Watches, but I don't have any. Any ideas what is causing this?

Thank you.

[203286CC]{dbkdebugide280.bpl} Debug.TDebugKernel.msgBox (Line 5945, "Debug.pas" + 30) + $0
[475C6EB3]{bordbk280.dll} Unknown function at DllUnregisterServer + $5037
[4763B88C]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $619B4
[4763B90B]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $61A33
[4763C351]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $62479
[4763C5A1]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $626C9
[4766C3D3]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $924FB
[4763C577]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $6269F
[4766A91D]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $90A45
[4763C577]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $6269F
[4763C7E0]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $62908
[475C6A4B]{bordbk280.dll} Unknown function at DllUnregisterServer + $4BCF
[4765AB32]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $80C5A
[4765AB3C]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $80C64
[203350DD]{dbkdebugide280.bpl} Debug.GetNextEvent (Line 11709, "Debug.pas" + 1) + $24
[500600D6]{rtl280.bpl } System.@IsClass (Line 18524, "System.pas" + 1) + $8
[20335BC1]{dbkdebugide280.bpl} Debug.TDebugger.UpdateEventLog (Line 11721, "Debug.pas" + 9) + $1
[2032EE19]{dbkdebugide280.bpl} Debug.TProcess.ntfyNewEventLogData (Line 8961, "Debug.pas" + 1) + $7
[4765B3A0]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $814C8
[4763B90B]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $61A33
[4763C577]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $6269F
[476570FB]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $7D223
[47657136]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $7D25E
[4766C4C7]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $925EF
[475D9D72]{bordbk280.dll} Unknown function at DllUnregisterServer + $17EF6
[4763B8B0]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $619D8
[4763C7E0]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $62908
[475E4247]{bordbk280.dll} Unknown function at @isDbkLoggingOn$qv + $A36F
[0195CC37]{vclwinx280.bpl} Vcl.TitleBarCtrls.TCustomTitleBarPanel.WMPaint (Line 1565, "Vcl.TitleBarCtrls.pas" + 5) + $4
[50CC7CCA]{vcl280.bpl } Vcl.Controls.TControl.WndProc (Line 7544, "Vcl.Controls.pas" + 91) + $6
[50DD7561]{vcl280.bpl } Vcl.Themes.{System.Generics.Collections}TDictionary<System.TClass,System.Generics.Collections.TList<Vcl.Themes.TStyleHookClass>>.ContainsKey (Line 7459, "System.Generics.Collections.pas" + 1) + $F
[50EF12DA]{vcl280.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3589, "Vcl.Styles.pas" + 8) + $9
[50DCE084]{vcl280.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5858, "Vcl.Themes.pas" + 11) + $11
[50060894]{rtl280.bpl } System.TMonitor.Enter (Line 19622, "System.pas" + 4) + $2
[50E0D74B]{vcl280.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11322, "Vcl.Forms.pas" + 25) + $1
[50E0D76E]{vcl280.bpl } Vcl.Forms.TApplication.ProcessMessages (Line 11342, "Vcl.Forms.pas" + 1) + $4
[004A0567]{bds.exe } AppMain.TAppBuilder.ApplicationActivated (Line 2730, "AppMain.pas" + 0) + $7
[50E65CA3]{vcl280.bpl } Vcl.AppEvnts.TCustomApplicationEvents.DoActivate (Line 210, "Vcl.AppEvnts.pas" + 1) + $12
[50E66345]{vcl280.bpl } Vcl.AppEvnts.TMultiCaster.DoActivate (Line 438, "Vcl.AppEvnts.pas" + 5) + $C
[50E0CBF3]{vcl280.bpl } Vcl.Forms.TApplication.WndProc (Line 10895, "Vcl.Forms.pas" + 140) + $C
[50174218]{rtl280.bpl } System.Classes.StdWndProc (Line 18318, "System.Classes.pas" + 8) + $0
[50E0D743]{vcl280.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11320, "Vcl.Forms.pas" + 23) + $1
[50E0D786]{vcl280.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11350, "Vcl.Forms.pas" + 1) + $4
[50E0DAC5]{vcl280.bpl } Vcl.Forms.TApplication.Run (Line 11489, "Vcl.Forms.pas" + 27) + $3
[004F6F82]{bds.exe } bds.bds (Line 227, "" + 16) + $2
Posted 03 Mar, 2022 08:40:57 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello George,

We haven't got such reports. We don't even see if this relates to Add-in Express. Is this reproducible on a new empty add-in project? On your project without recent changes?

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 04 Mar, 2022 09:40:03 Top
JWBokx




Posts: 12
Joined: 2021-01-12
Well ... In delphi 10.4 I have seen this too.
In my case restarting delphi and kill hanging excel/word proces then the debugging is fine.
Delphi 11 I have installed on new computer, but I did not have the time to test it.

For me the error is most of the time not reproducable, so I didn't report it.
Most of the time it works.
Posted 18 Mar, 2022 04:58:38 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello George,

Can you reproduce the issue on a new empty add-in project?

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 18 Mar, 2022 08:08:58 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Do you know how to reproduce the issue?

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 18 Mar, 2022 08:10:32 Top
George Spears




Posts: 79
Joined: 2010-05-06
I have reinstalled Delphi, and things seem to be working better. Consider this closed for now.
Posted 18 Mar, 2022 14:32:46 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello George,

Thank you very much!

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Mar, 2022 03:21:42 Top