Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool for debugging Borland & Visual Studio applications

sometimes I have to debug an application that was written with Borland C++ Builder. This application loads dlls compiled with Visual C++. Is there a debugger that can debug both parts of the application? Currently I have to decide - either I can easily set break points and see the source in Visual Studio or I have to start Borland C++, but I can't work with the source from the Visual-Studio compiled dll.

thank you for your help, Tobias

like image 859
Tobias Langner Avatar asked Sep 23 '11 07:09

Tobias Langner


2 Answers

You could try OllyDbg - version 1.x does not seem to support the latest Win version but there is also the 2.0 although it's still in alpha state(haven't tried myself that one yet).

EDIT - clarification:

Source debugging OllyDbg reads debugging information in Borland and Microsoft formats. This information includes source code and names of functions, labels, global and static variables. Support for dynamical (stack) variables and structures is very limited.

The above is take from here.

UPDATE:

I'm not familiar with the Borland C++ Builder but at this link you can find some articles explaining how to deal with some interoperability issues between Borland and MS that might be of help.

like image 197
celavek Avatar answered Sep 28 '22 02:09

celavek


if both parts built using ulink linker and have debug info you could try cdb32 debugger (from the ulink linker author)

cdb32 is still in its alpha stage though and I personally never tried such "mixed" debugging

like image 26
vavan Avatar answered Sep 28 '22 03:09

vavan