summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-04-24 16:16:37 -0400
committerEric Milkie <milkie@10gen.com>2012-04-24 16:24:35 -0400
commit86b4fde37e0b12ba38ace49157d1804b2d5e2983 (patch)
tree6a72b887644c2aac93c6aec4c7249e4250c48922 /SConstruct
parent5dda12ce95f136a06ad24cc3cf58606a51d058e5 (diff)
downloadmongo-86b4fde37e0b12ba38ace49157d1804b2d5e2983.tar.gz
write minidumps for unhandled exceptions on Windows
This will write a file mongo.dmp in the current directory when you crash. You can open this dump with windbg and examine all thread stacks and locals. To read and parse the exception details, issue the .ecxr command.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 09481035cce..4be2262879f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -625,7 +625,7 @@ elif "win32" == os.sys.platform:
else:
env.Append( LINKFLAGS=" /NODEFAULTLIB:MSVCPRT /NODEFAULTLIB:MSVCRT " )
- winLibString = "ws2_32.lib kernel32.lib advapi32.lib Psapi.lib"
+ winLibString = "ws2_32.lib kernel32.lib advapi32.lib Psapi.lib DbgHelp.lib"
if force64: