Debug COM+

Debug COM+

Post by khalid ade » Wed, 29 Dec 2004 08:15:12

please help ,i have com+ developed by delphi8 i made all steps to debug in
that com+ but all ways failed ,
please i want detailed steps to debug that dll , thanks all.

Debug COM+

Post by Charles Ad » Sun, 02 Jan 2005 19:25:02

hi Khalid

Craig Stuntz wrote me for this question and work fine

Abstract: Debugging a COM+ component on Windows 2000.
Assuming you have already created a COM+ component in Delphi, these are
steps for debugging:

1. In Delphi, go into the menu option Project | Options | Linker and setting
the Include remote debug symbols option.

2. Go into the menu option Run | Parameters.
On the Local tab, under Host Application enter
Under Parameters enter /ProcessID:{GUID}
where GUID is the Application ID for your application.

This GUID can be obtained by going into Control Panel | Administrative Tools
| Component Services
Locate the COM+ application under Component Services | Computer and open its
On the first page below, the description box, is the Application ID.

After you have entered these parameters you can run the app (F9) to begin




Debug COM+

Post by khalid ade » Mon, 03 Jan 2005 05:58:13

thanks for reply but i still have problems , first i do not know what does
remote path mean or path of what ,
second i have access violation after running, u must know that the com+
deployed in the local machine and the exe file that connected to that com+
on the same machine .


Debug COM+

Post by Charles Ad » Mon, 03 Jan 2005 20:33:07

sorry, in this case I don't know what to do

you could try to accomplish Debug internally

i have a JVCL/JCL 2.10. in JCL have functions
that help to set up a system of Debug, like

- Diagnostics
- exception frame into routines
- exception hooking
- helpers
- miscellanuous
- Stack info routines
- Tracking routines

JVCL - found in
JCL - found in

see the help file.

with that functions you can open a file text or the
Notepad and to write messages with values of
the variables


PD : sorry for my English