stack trace



hi,
I'm trying to get stack trace using StackWalk64 and
SymGetModuleInfo64. I only need the modules names, not lines and
functions. some of the modules I expect to see are windows modules
like the ole dll etc.

for example from the groups here:
http://groups.google.co.il/group/microsoft.public.win32.programmer.kernel/browse_thread/thread/37cc78ed4c34cd72/81ed02e4adbd4e98?hl=en&lnk=st&q=SymGetModuleInfo64+ERROR_MOD_NOT_FOUND#81ed02e4adbd4e98


when working in debug everything ok, but when I build in release I get
only the current module, i.e. that calls the stack trace APIs.

does it require debug? pdb file? I only look for module names.

Thanks,
Gilad.
.



Relevant Pages

  • Re: Debug vs. Release code.
    ... In regards to being able to log a stack trace. ... I have noticed that if I do not have the PDB files on the target ... So far having a Debug build seems to be the only way that I know ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Downside of using Debug builds for production
    ... use of Microsoft's Exception Handling application block. ... the process if I desire to debug the application. ... For example, an "optimized" build could in some cases be larger than the "non-optimized" build, depending on what the optimization goals are. ... it seems to me that you are really only interested in one aspect of the "debug" build: the inclusion of symbols allowing for the stack trace to include line numbers in the exceptions. ...
    (microsoft.public.dotnet.framework)
  • trouble with PrepareToEncode and vct3216.dll
    ... The stack trace ... lists vct3216 as the problem. ... I have seen posts as far back as fives years ... but I am seeing the same problem on debug or release. ...
    (microsoft.public.windowsmedia.sdk)
  • How to start on debugging this Swing/AWT error?
    ... I'm wondering about what techniques to use to debug an ... error which is coming from somewhere in the guts of a ... In other cases I've worked in the stack trace always gave ...
    (comp.lang.java.programmer)
  • Re: ASSERT on a line not where program breaks
    ... Your assertion is coming from ATL code, and most likely has to do with your HWND or the ... "Retry" button to debug the application, I don't break in to line 460, ... stack trace below for reference. ...
    (microsoft.public.vc.language)