mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7022037: Pause when exiting if debugger is attached on windows
Reviewed-by: dsamersoff, kamg, hosterda
This commit is contained in:
parent
52708b0603
commit
cc6f461357
11 changed files with 63 additions and 5 deletions
|
@ -492,6 +492,12 @@ class os: AllStatic {
|
|||
static void print_location(outputStream* st, intptr_t x, bool verbose = false);
|
||||
static size_t lasterror(char *buf, size_t len);
|
||||
|
||||
// Determines whether the calling process is being debugged by a user-mode debugger.
|
||||
static bool is_debugger_attached();
|
||||
|
||||
// wait for a key press if PauseAtExit is set
|
||||
static void wait_for_keypress_at_exit(void);
|
||||
|
||||
// The following two functions are used by fatal error handler to trace
|
||||
// native (C) frames. They are not part of frame.hpp/frame.cpp because
|
||||
// frame.hpp/cpp assume thread is JavaThread, and also because different
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue