Vb6 debugging .exe in .dll

Probably the question that was asked before. Please direct me to any questions that might answer my question ...

I have VB6.exe that calls VB6 .dll. I would like to debug .dll from .exe code.

Any ideas on how to achieve this? A lot of time has passed since I played with vb6.

thanks

+4
source share
3 answers

Open both VB6 projects in one VB6 IDE (VB Project Group ... creates and uses the .vbg file extension, if I remember correctly). In addition, install the Break in Class module for debugging.

+5
source

You need access to DLL symbols (usually a PDB file). Make sure dll characters are generated.

If you open the dll as the source text and go to the end of the file, you can find the path where it is supposed to find the pdb file.

+4
source

I think you need to add the dll project to the exe project (File-> Add project) to go into the dll code. Update: Yes, I think you will also need to remove the link to the compiled dll.

+3
source

Source: https://habr.com/ru/post/1343977/


All Articles