mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00

On application crash, drwtsn32 will attach to the application and try to get a dump, consisting of: - List of loaded modules - List of loaded threads - Per thread, a stacktrace - Per thread, a small hexdump from the stack - Per thread, a dump of the most common registers This dump is saved to the desktop, and the user is notified of the dump being dropped there. CORE-14180 #145
18 lines
451 B
CMake
18 lines
451 B
CMake
|
|
PROJECT(drwtsn32)
|
|
|
|
set_cpp(WITH_RUNTIME WITH_EXCEPTIONS WITH_STL)
|
|
|
|
list(APPEND CPP_SOURCE
|
|
drwtsn32.cpp
|
|
main.cpp
|
|
stacktrace.cpp
|
|
sysinfo.cpp
|
|
drwtsn32.h
|
|
precomp.h)
|
|
|
|
add_executable(drwtsn32 ${CPP_SOURCE})
|
|
add_pch(drwtsn32 precomp.h CPP_SOURCE)
|
|
set_module_type(drwtsn32 win32gui)
|
|
add_importlibs(drwtsn32 dbghelp psapi advapi32 shell32 msvcrt user32 kernel32 ntdll)
|
|
add_cd_file(TARGET drwtsn32 DESTINATION reactos/system32 FOR all)
|