Skip to content

Commit 4f49c07

Browse files
committed
Fixes
1 parent 80f5910 commit 4f49c07

21 files changed

+14
-20664
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
## Current Changes
2-
* 2.2.13
3-
* Improved discovery of Windbg installation detection. Works with App store installations now.
2+
* 2.2.14
3+
* Bug fix for breakpoints
4+
* Switched to py-win32more for thread CONTEXT

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ k.attach("net:port=50000,key=1.2.3.4")
5858

5959

6060
## Release History
61+
* 2.2.14
62+
* Bug fix for breakpoints
63+
* Switched to py-win32more for thread CONTEXT
6164
* 2.2.13
6265
* Improved discovery of Windbg installation detection. Works with App store installations now.
6366
* 2.2.12

pybag/dbgeng/idebugadvanced.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
from . import core as DbgEng
55
from . import exception
6-
from . import win32
6+
7+
from win32more.Windows.Win32.System.Diagnostics.Debug import CONTEXT
78

89
class DebugAdvanced(object):
910
def __init__(self, advanced):
@@ -20,7 +21,7 @@ def Release(self):
2021

2122
def GetThreadContext(self):
2223
# XXX - Check target bitness first
23-
ctx = win32.CONTEXT()
24+
ctx = CONTEXT()
2425
hr = self._adv.GetThreadContext(byref(ctx), sizeof(ctx))
2526
exception.check_err(hr)
2627
return ctx
@@ -43,7 +44,7 @@ def Request(self, requestid):
4344

4445
elif requestid == DbgEng.DEBUG_REQUEST_TARGET_EXCEPTION_CONTEXT:
4546
# XXX - Check target bitness first
46-
ctx = win32.CONTEXT()
47+
ctx = CONTEXT()
4748
hr = self._adv.Request(requestid, None, 0, byref(ctx), sizeof(ctx), None)
4849
exception.check_err(hr)
4950
return ctx

pybag/dbgeng/win32/__init__.py

Lines changed: 0 additions & 219 deletions
This file was deleted.

0 commit comments

Comments
 (0)