Debugging from CodeGear C++ Builder 2007

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
MiguelHernandez
Newbie
Newbie
Posts: 2
Joined: Thu Mar 18, 2010 12:00 am

Debugging from CodeGear C++ Builder 2007

Post by MiguelHernandez » Wed May 19, 2010 2:00 pm

Hi, I have some charting code encapsulated into a dll and I´m having a weird exception invoking a chart method. I would like to debug what is happening but despite the fact I´ve recompiled the packages with "Debug packages compilation" flag set to true the bpl´s are being loaded with "No debug info". Does someone know how to debug the code? Are I doing something wrong?

Thanks in advance,

Miguel Angel

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Debugging from CodeGear C++ Builder 2007

Post by Yeray » Thu May 20, 2010 1:31 pm

Hi Miguel Angel,

I've seen that the "Debug packages compilation" checkbox seems to be checked by default but I'm not sure if this is the only one option needed. Are you able to debug into a dll that has another component?

On the other hand, it would be helpful if you could reproduce the situation in a more simple project without using the "undebugable" dll.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Debugging from CodeGear C++ Builder 2007

Post by Yeray » Thu May 20, 2010 1:52 pm

Hi Miguel Angel,

In addition, as you are source code customer, you may be interested in the following instructions about how to debug the sources in BCB:

1. Open Delphi with TeeChart sources in the search path.
2. Open C++ Builder with the project to compile.
3. Delphi -> Run -> Attach to process -> C++ Builder process.
4. Compile with C++ Builder and when the application crashes Delphi should show you the TeeChart sources line where it crashed.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply