Debugging TC8.06 with C++ Builder 2010

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
to2
Newbie
Newbie
Posts: 25
Joined: Thu Dec 03, 2009 12:00 am

Debugging TC8.06 with C++ Builder 2010

Post by to2 » Wed Jan 06, 2010 8:55 am

Hello,

I wonder how I can debug TeeChart 8.06. Conditions:

- TeeChart 8.06 with source code
- C++ Builder 2010 Professional
- XP SP3

I installed TeeChart 8.06 with source code, used Recompile, checked the debug option there and got TeeChart Pro 8 components installed. What I miss is a *.tds file, which the C++ compiler needs. Tried to compile TeeChart in C++ Builder 2010 without Recompile, but I don't file a project file to load.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Debugging TC8.06 with C++ Builder 2010

Post by Narcís » Thu Jan 07, 2010 3:59 pm

Hi to2,

TeeChart Pro VCL source code is fully written in Delphi. I have heard that Delphi sources can be debugged with C++ Builder doing something like the steps below (which are for Delphi 6) but uses an intermediate Delphi instance.

- Start Delphi 6.
- Execute the menu item File / Close All
- Open the DPK for the package that contains the component of interest
- Execute the menu item Run / Parameters
- Set "Host Application" to "c:\program files\borland\delphi6\bin\delp­hi32.exe" (For C++ Builder you should change this to C++ Builder's *.exe)
- Set the desired breakpoints
- Execute the menu item Project / Options
- Navigate to the Compiler tab
- Ensure "Use Debug DCUs" is checked
- Navigate to the "Directories / Conditionals" tab
- Update "Debug source path" to include: "c:\program files\borland\delphi6\source\t­oolsapi" and "c:\program files\borland\delphi6\source\p­roperty editors"
- Run
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply