Gecko.natvis is embedded in the PDB file, so it should Just Work for debugging 
local builds as well as builds from CI.

-Ted

On Wed, May 9, 2018, at 3:34 PM, Aaron Klotz wrote:
> This is great news! Are the natvis files embedded in the PDBs, or do we 
> have to reference them separately?
> 
> On 5/9/2018 1:17 PM, Ted Mielczarek wrote:
> > Hello,
> >
> > I recently landed a patch[1] that added a Gecko.natvis file[2] to the tree. 
> > natvis files[3] are Microsoft's current way of providing nicer views of 
> > data types for their debuggers. The file as-landed was written by Vlad a 
> > few years ago so it could definitely use some changes (there's a followup 
> > bug[4] for that work). If you debug Firefox in MSVC regularly and there are 
> > Gecko data types that you find annoying to inspect you should take a look, 
> > and submit fixes for things it doesn't already cover! There's also a 
> > followup bug[5] to embed the natvis files that the Rust compiler ships so 
> > we can get nicer views of data types from the Rust standard library.
> >
> > And in case you're wondering--there are already GDB pretty-printers for 
> > Gecko types in the tree[6][7], feel free to use and improve those as well!
> >
> > -Ted
> >
> > 1. https://bugzilla.mozilla.org/show_bug.cgi?id=1408502
> > 2. 
> > https://hg.mozilla.org/mozilla-central/file/856384fbc255/toolkit/library/gecko.natvis
> > 3. 
> > https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects
> > 4. https://bugzilla.mozilla.org/show_bug.cgi?id=1459989
> > 5. https://bugzilla.mozilla.org/show_bug.cgi?id=1459991
> > 6. https://hg.mozilla.org/mozilla-central/file/tip/.gdbinit
> > 7. 
> > https://hg.mozilla.org/mozilla-central/file/tip/third_party/python/gdbpp/gdbpp
> > _______________________________________________
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> 
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to