Skip to content

kojiishi/chromium-natvis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chromium-natvis

A local fork of blink.natvis for chromium.

Install

You can download the natvis file, or clone the repository, and place it in one of the Natvis file locations.

If you want to save it in your "Documents" directory, be aware that your "Documents" directory may be redirected to other directory than "%USERPROFILE%\Documents", such as the one in OneDrive. PowerShell can find it by the following command:

cd ([Environment]::GetFolderPath('MyDocuments'))
cd "Visual Studio 2019"
cd Visualizers

Download

Download blink.natvis from here and save to one of the Natvis file locations.

Clone

cd ..
ren Visualizers Visualizers.bak
git clone https://github.com/kojiishi/chromium-natvis.git Visualizers

Local vs PDB

Often .natvis files built into PDB files win over your local files. You can't update .natvis files that are embedded in .pdb files while you're debugging.

If you prefer to remove .natvis files from PDB files, you can comment out the .natvis files in BUILD.gn. See DebugVisualizers/README.

If you change BUILD.gn in your repo, you may also want to avoid checking in the change. The following command can avoid checking in the changes to BUILD.gn.

git update-index --skip-worktree tools/win/DebugVisualizers/BUILD.gn

Confirm it's skipped:

git ls-files -v | grep ^S

When you want to revert it back to the original state:

git update-index --no-skip-worktree tools/win/DebugVisualizers/BUILD.gn

You may prefer --assume-unchanged instead of --skip-worktree, depending on your work style.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published