Sample Header Ad - 728x90

How to debug a cpp file that's part of a so file in the software?

0 votes
0 answers
337 views
So I have this software which has multiple .so files. For one of the so file and I made some changes to the code but I want to see the line by line execution of file present in the so file. Just to give a reference while using visual studio we can attach the code to the process that is using the dll file and then once it gets attached we put breakpoints in the file we want to debug and step over to go to the next line. How can I achieve the same on Linux machine? Is there any hack that would help me? I have a software that uses so files and that so files has multiple cpp files as part of its build and I want to debug a file present in that so file.
Asked by Himanshuman (321 rep)
Oct 19, 2020, 02:28 PM