Debugging on Visual Studio (Windows)

Kira Tubo kira.tubo at gmail.com
Fri Jul 19 02:30:53 UTC 2024


Hello,

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
   2. In Cygwin: make vs-ide-integration
   3. In Visual Studio, open LibreOffice.sln
   4. Add breakpoints to a .cxx file
   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)
   7. F5 to start debugging

At the breakpoints, I get error messages that say "The breakpoint will not
currently be hit. No symbols have been loaded for this document."

Symbol options I have setup below:

[image: image.png]

Thanks in advance!

Regards,
Kira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240718/2426b3a2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 290385 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240718/2426b3a2/attachment-0001.png>


More information about the LibreOffice mailing list