No stack trace: cannot find (functions in) dbghelp.dll
Hi,
I'm trying to make sil-cling work on Windows, but whenever there's an error I get
No stack trace: cannot find (functions in) dbghelp.dll!, so I'm not able to see the stack trace. I've googled this error message and it seems that it comes from here, but I've checked and I have both dbghelp.dll and imagehlp.dll in PATH.
Any ideas what could go wrong?
Seems to me that the only way it can fail if the libraries are available in PATH, if there is a 32b/64b mismatch? (Given that the names are explicit 64.) Either way, I've never seen this error before.
Note, however, that I've never had any luck with the stack traces on Windows to begin with and haven't spent the time to figure out why. (Upstream claims they do work for them, so I probably should.) Instead, I've been very happy with WinDbg: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools (Yes, it's only a preview for now, but it's been solid for me.)
So you were right about 32b/64b mismatch: my dbghelp.dll was 32b. I added a 64b dbghelp.dll to PATH but I get the same error. It is probably because of imagehlp.dll, of which I have only 32 bit versions on my machine, so I have to find a 64 bit one. Will also try the debugger you suggested. Thanks.