annotate agent/make/start-debug-server @ 10349:a213d425d87a
8015329: Print reason for failed MiniDumpWriteDump() call
Summary: Printing both result from GetLastError and text representation of error. Also changed so that we produce dumps by default on client versions of Windows when running with a debug build. Also reviewed by peter.allwin@oracle.com
Reviewed-by: sla, dholmes
author |
ctornqvi |
date |
Tue, 28 May 2013 15:08:57 +0200 |
parents |
a61af66fc99e |
children |
|
rev |
line source |
0
|
1 #!/bin/sh
|
|
2
|
|
3 STARTDIR=`dirname $0`
|
|
4
|
|
5 if [ "x$SA_JAVA" = "x" ]; then
|
|
6 SA_JAVA=java
|
|
7 fi
|
|
8
|
|
9 if [ -f $STARTDIR/sa.jar ] ; then
|
|
10 CP=$STARTDIR/sa.jar
|
|
11 else
|
|
12 CP=$STARTDIR/../build/classes
|
|
13 fi
|
|
14
|
|
15 # License file for development version of dbx
|
|
16 setenv LM_LICENSE_FILE 7588@extend.eng:/usr/dist/local/config/sparcworks/license.dat:7588@setlicense
|
|
17
|
|
18 $SA_JAVA -Xbootclasspath/p:$CP -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*
|