-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need Debug Symbol (PDB) for Windows platform #5696
Comments
/cc @nodejs/build |
We haven't shipped this since io.js v1, including Node.js v4 and v5 and this is the first complaint. I'd like to understand how useful this file really is. /cc @nodejs/platform-windows |
It is useful to have the pdb symbol files available for debugging. If the installer size is a concern, we could make the pdb files separately downloadable. |
What size are we talking about? |
I don't think the PDBs should be included in the main installer. But it would indeed be useful to have them available as a separate download. e.g. they could be dropped in https://nodejs.org/dist/v5.8.0/win-x86/ (and x64). |
I've not been on Windows in a while but last I remember, some installers gave you the option to install PDBs or not while going through the installation wizard. I think that would be ideal, the option to choose. Now if omitting PDBs has been done due to saving some download size, this suggestion would violate that and would likely not be a good suggestion. Like @jbergstroem, I too would be interested in knowing the size impact for including the PDBs both for on-disk and over the wire. |
The PDB for v0.12.12 is about 32 MB. I wager that makes it too big to ship as an optional part of the installer but it could be made available as a separate download. Looking at common.gypi, I think we still generate it as part of the build, we just don't distribute it anymore ( |
The PDB for current master is 62 MB (compresses to 17 MB zip and 11 MB 7z). |
Actually, if we are doing this, we should generalize this to other platforms too (see: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html). |
This is required specially for post mortem debugging. Another concern here is even I build nodejs myself, I can't find the v8dbg_* symbols which is helpful for debugging jscript objects. |
I don't Windows much but I'd argue that file size suggests a separate download. |
@jbergstroem agreed, separate download is the way to go. |
I needed PDB's too, so I have used an excellent @appveyor service to build node with PDB. Here are my changes needed to support that. Of course @nodejs is not going to use One important thing: Before launching vcbuild.bat I am creating an I have built node engines with VC2013 and VC2015 successfully and PDBs appear to work properly. My artifacts can be downloaded from ftp://ftp.saper.info/incoming/node/builds/ and here are the build logs. |
Is there any way that I can get the pdbs for v4.4.1 or do I have to build my own node.exe? 32-bit node is crashing for me and I'd like to investigate why. |
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Fixes: nodejs/build#299 Fixes: nodejs#5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995 Fixes: nodejs/build#299 Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995 Fixes: nodejs/build#299 Fixes: #5696
available as of the latest v6 release https://nodejs.org/download/release/latest-v6.x/ |
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: nodejs#5995 Fixes: nodejs/build#299 Fixes: nodejs#5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995 Fixes: nodejs/build#299 Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995 Fixes: nodejs/build#299 Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995 Fixes: nodejs/build#299 Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995 Fixes: nodejs/build#299 Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995 Fixes: nodejs/build#299 Fixes: #5696
@rvagg I can't find the PDB at the link you provided. Where can we find the pdb for the official node 6.4 distribution for win-x86? We have a lot of crash dumps and we need the PDB to see the full callstacks to see why it's crashing. |
@AArnott it's in the win-x64 or win-x86 directories, take your pick from: |
Hey Guys,
Just noticed node.pdb was not shipped with the official node release. Can we please bring this back?
This is extremely helpful for postmortem debugging node application on windows platform. I don't like to build whole node because just want the PDB file.
thanks,
Wei
The text was updated successfully, but these errors were encountered: