Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hi Christian,

I am building lo myself. With options: --with-visual-studio=yyyy,
--enable-dbgutil. So the symbols are not being downloaded from any
server.

I wondered if the pdb files even
had the sources specified.

Yes, the official builds (including alpha and beta builds) are
source-indexed. On crash, you will be able to see sources. Maybe windbg
won't work if you don't use the same paths, so try to set a breakpoint in a
function and have the debugger stop at that.

In WinDbg, I am able to set a breakpoint. When the breakpoint is hit,
I expect the source file to open, and the breakpoint line to be showed
because I am using the l+s option. But that is not the case. This is
after I have set the source files path and symbol files path
correctly. I also verified that I was debugging what I had built. Same
is the case with vs2015. I open the source file and but a breakpoint
in it, but I get a error saying bp will not be hit as symbols are not
loaded for this file. Bringing up the modules list I can see the
relevant module is loaded and symbols for it are also loaded.

So I found code for a tool which is
essentially a pdb parser. On building and running it on any of the pdb
files, I found that there were no sources for all the object files,

They are not included in the pdb directly, but have instructions in them on
how it can be downloaded. Downloading makes use of power shell, maybe you're
missing that..
 The tool is parsing these instructions and shows the source files
linked to all the object files in the module. The pdb files were not
showing any source files. Keeping all my other options same, I just
changed --with-visual-studio=2015 to --with-visual-studio=2013. Now
the pdb files were showing all the source files correctly and
debugging works as expected.

Regards,
Akash

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.