I am beginner in WinDbg, I have to analyze a user mode dump in WinDbg.
I have set up environment variables for downloading Microsoft symbols as srv*c:\Symbols\cache*https://msdl.microsoft.com/download/symbols and symbols related to the Dump: "C:\symbols\RP\4359" but when I run !heap -p -a <address> I am not getting call stack which can direct me towards the code.
Call stack which will direct me to source code.
For this to work, you need to enable page heap in GFlags:
Equivalent command line:
gflags /i my.exe +hpa.To check if it was enabled, use
!gflagin WinDbg and it needs to showhpain its output. To enable it just for one debugging session, use!gflag +hpa(not sure if this works only at the initial breakpoint, it'll certainly not affect allocations which have already happened).