Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
kdlibcpp
kdlibcpp
Commits
4154e469
Commit
4154e469
authored
May 27, 2020
by
ussrhero
Browse files
changed loadDump
parent
c2e0dbf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
kdlib/source/win/dbgeng.cpp
kdlib/source/win/dbgeng.cpp
+2
-3
No files found.
kdlib/source/win/dbgeng.cpp
View file @
4154e469
...
...
@@ -394,9 +394,8 @@ PROCESS_DEBUG_ID loadDump( const std::wstring &fileName )
if
(
FAILED
(
hres
)
)
throw
DbgEngException
(
L"IDebugControl::WaitForEvent"
,
hres
);
hres
=
g_dbgMgr
->
control
->
OutputCurrentState
(
DEBUG_OUTCTL_IGNORE
,
DEBUG_CURRENT_SYMBOL
);
if
(
FAILED
(
hres
))
throw
DbgEngException
(
L"IDebugControl::OutputCurrentState"
,
hres
);
//skip error checking
g_dbgMgr
->
control
->
OutputCurrentState
(
DEBUG_OUTCTL_IGNORE
,
DEBUG_CURRENT_SYMBOL
);
ULONG
processId
=
-
1
;
hres
=
g_dbgMgr
->
system
->
GetCurrentProcessId
(
&
processId
);
...
...
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