Page 1 of 1

Debugging from CodeGear C++ Builder 2007

Posted: Wed May 19, 2010 2:00 pm
by 10555436
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

Re: Debugging from CodeGear C++ Builder 2007

Posted: Thu May 20, 2010 1:31 pm
by yeray
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.

Re: Debugging from CodeGear C++ Builder 2007

Posted: Thu May 20, 2010 1:52 pm
by yeray
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.