Hi Kira, On Thu, Jul 18, 2024 at 07:30:53PM -0700, Kira Tubo <kira.tubo@xxxxxxxxx> wrote: > I'm having difficulty debugging using Visual Studio on Windows. Not sure if > I am doing something wrong or I'm missing some things that need to be > installed. > > 1. I have --enable-dbgutil set up in my autogen.input file Good, at this point you should have debug symbols. > 2. In Cygwin: make vs-ide-integration > 3. In Visual Studio, open LibreOffice.sln > 4. Add breakpoints to a .cxx file To be clear, this is for the IDE integration, debugging doesn't need that, it would be for tab completion while editing code, etc. If you just want to debug, you can simply open the file in question and put breakpoints there, no need for any kind of projects. > 5. In Cygwin: instdir/program/soffice.exe > 6. In Visual Studio, Debug > Attach to Process > soffice.bin (at this > point, it asked me to run VS with admin privileges) I don't recall I had to have admin privileges to debug a normal soffice.bin process, but otherwise yes, that's how you do it, yes. > 7. F5 to start debugging Not sure you need this step, possibly once you attach the debugger to the process, it'll wait for your breakpoint to be hit, so you don't have to start anything. Regards, Miklos