2007. június 27., szerda
Cross Debug Delphi 6 and CBuilder 5 Failure
Problem/Question/Abstract:
In Delphi 5 im able to 'debug' step into the cpp code of a dll created with cbuilder. In Delphi 6 this doesnt work. The CPP DLL contains TD32 Debug info. In Delphi set breakpoint on DLL entrance. Press F7 and CPP code is entered. This works in D5 but not in D6. Why?
Answer:
First of all, it is never guaranteed that you can mix versions of the Delphi and BCB products and get the results that you desire. Normally, you'd have to wait for the release of BCB that matches the Delphi version. If you have both, then the installer will set up everything for you. However, in the case of Delphi6 and BCB5, it should work with a little tweaking. You'll need to manually edit your registry in order to make Delphi aware of you C++ evaluator.
Under:
[HKEY_CURRENT_USER]
Software
Borland
Debugging
6.0
Evaluators
Add a new string value called "comp32p.dll". Give it a value of '1'.
You'll need to copy your comp32p.dll from your BCB5 bin directory into you Delphi6 bin directory.
Feliratkozás:
Megjegyzések küldése (Atom)
Nincsenek megjegyzések:
Megjegyzés küldése