From ea8a8cda98457639085ad207f3ef7e3ec2671b8f Mon Sep 17 00:00:00 2001 From: "SND\\kernelnet_cp" Date: Sun, 11 Aug 2013 09:35:23 +0000 Subject: [PATCH] [0.2.x] fixed : issue #12017 ( Exception Always First Chance ) git-svn-id: https://pykd.svn.codeplex.com/svn@84627 9b283d60-5439-405e-af05-b73fd8c4d996 --- pykd/exceptinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pykd/exceptinfo.cpp b/pykd/exceptinfo.cpp index 4134fbb..d8eac99 100644 --- a/pykd/exceptinfo.cpp +++ b/pykd/exceptinfo.cpp @@ -8,9 +8,9 @@ namespace pykd { //////////////////////////////////////////////////////////////////////////////// -ExceptionInfo::ExceptionInfo(ULONG FirstChance, const EXCEPTION_RECORD64 &Exception) +ExceptionInfo::ExceptionInfo(ULONG FirstChance_, const EXCEPTION_RECORD64 &Exception) { - FirstChance = FirstChance != FALSE; + FirstChance = FirstChance_ != 0; ExceptionCode = Exception.ExceptionCode; ExceptionFlags = Exception.ExceptionFlags;