Debugging QT app in WinDbg -



Debugging QT app in WinDbg -

i developed qt application using qt creator. programme crashes on windows 7 , xp. lastly time happened, used task manager create dump file. tried using windbg got loads of errors not beingness able find 'symbol' files qt:

*** error: symbol file not found. defaulted export symbols qtwebkit4.dll - *** error: symbol file not found. defaulted export symbols qtcore4.dll - *** error: symbol file not found. defaulted export symbols qtgui4.dll - *** error: module load completed symbols not loaded myapp1.1b.exe *** warning: symbols timestamp wrong 0x522be0b3 0x522bdb3e mswsock.dll *** warning: symbols timestamp wrong 0x4a5be0b0 0x4ce7ba42 winmm.dll *** warning: symbols timestamp wrong 0x4a5be093 0x4a5bdb3c uxtheme.dll *** warning: symbols timestamp wrong 0x53b9ff75 0x53b9f968 audioses.dll

does know how debug app crash in qt app using windbg or similar tool?

you need have debug symbols (.pdb files) qt in order debug crash dump. no reason libraries shipped in pre-built sdk not come debugging symbols , have build libraries in order them making sure set next compiler flags:

qmake_cxxflags_release += -zi qmake_lflags_release += /debug /opt:ref

assuming using msvc , qmake. of course of study need build own application same flags. create sure have symbol paths set in debugger, windbg need utilize .symfix or .sympath or file > symbol file path , point @ directories containing .pdb files. if using visual studio require original binaries available since uses exclusively different debugger seems behave differently. if want more sophisticated symstore or maybe breakpad.

see question , reply here more information.

qt debugging windbg crash-dumps

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -