Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2bdf6c75
Commit
2bdf6c75
authored
Aug 09, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Don't get stuck if the debugger exits without signaling the event.
parent
403786bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
except.c
dlls/kernel32/except.c
+10
-1
No files found.
dlls/kernel32/except.c
View file @
2bdf6c75
...
...
@@ -319,7 +319,16 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
ret
=
CreateProcessA
(
NULL
,
cmdline
,
NULL
,
NULL
,
TRUE
,
0
,
env
,
NULL
,
&
startup
,
&
info
);
FreeEnvironmentStringsA
(
env
);
if
(
ret
)
WaitForSingleObject
(
hEvent
,
INFINITE
);
/* wait for debugger to come up... */
if
(
ret
)
{
/* wait for debugger to come up... */
HANDLE
handles
[
2
];
CloseHandle
(
info
.
hThread
);
handles
[
0
]
=
hEvent
;
handles
[
1
]
=
info
.
hProcess
;
WaitForMultipleObjects
(
2
,
handles
,
FALSE
,
INFINITE
);
CloseHandle
(
info
.
hProcess
);
}
else
ERR
(
"Couldn't start debugger (%s) (%d)
\n
"
"Read the Wine Developers Guide on how to set up winedbg or another debugger
\n
"
,
debugstr_a
(
cmdline
),
GetLastError
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment