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
d67dacea
Commit
d67dacea
authored
Oct 22, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Oct 22, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Print CS reg at crash MessageBox (needed for Win16 programs).
- Add "hint" for debugger setup.
parent
0595b1f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
except.c
win32/except.c
+5
-2
No files found.
win32/except.c
View file @
d67dacea
...
...
@@ -133,9 +133,10 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
}
if
(
!
bAuto
&&
Callout
.
MessageBoxA
)
{
sprintf
(
buffer
,
"Unhandled exception 0x%08lx at address 0x%08lx.
\n
"
sprintf
(
buffer
,
"Unhandled exception 0x%08lx at address 0x%0
4lx:0x%0
8lx.
\n
"
"Do you wish to debug it ?"
,
epointers
->
ExceptionRecord
->
ExceptionCode
,
epointers
->
ContextRecord
->
SegCs
,
(
DWORD
)
epointers
->
ExceptionRecord
->
ExceptionAddress
);
if
(
Callout
.
MessageBoxA
(
0
,
buffer
,
"Error"
,
MB_YESNO
|
MB_ICONHAND
)
==
IDNO
)
{
TRACE
(
"Killing process
\n
"
);
...
...
@@ -168,7 +169,9 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
WaitForSingleObject
(
hEvent
,
INFINITE
);
ret
=
EXCEPTION_CONTINUE_SEARCH
;
}
else
{
ERR
(
"Couldn't start debugger (%s) (%ld)
\n
"
,
buffer
,
GetLastError
());
ERR
(
"Couldn't start debugger (%s) (%ld)
\n
"
"Read the documentation on how to set up winedbg or another debugger
\n
"
,
buffer
,
GetLastError
());
}
CloseHandle
(
hEvent
);
}
else
{
...
...
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