[NTOSKNRL]

Add the possibility to break on all first chance exceptions, by passing /FIRSTCHANCE on the command line. Enable it temporary to get some more information from the sysreg crash.

svn path=/trunk/; revision=47614
This commit is contained in:
Timo Kreuzer 2010-06-06 07:35:21 +00:00
parent 5e130771e7
commit f301a8c2d3
2 changed files with 6 additions and 1 deletions

View file

@ -58,7 +58,7 @@ Cabinet=reactos.cab
[SetupData]
DefaultPath = \ReactOS
OsLoadOptions = "/NOGUIBOOT /NODEBUG"
DbgOsLoadOptions = "/NOGUIBOOT /DEBUGPORT=COM1"
DbgOsLoadOptions = "/NOGUIBOOT /DEBUGPORT=COM1 /FIRSTCHANCE"
;OsLoadOptions = "/NOGUIBOOT /DEBUGPORT=SCREEN"
;OsLoadOptions = "/NOGUIBOOT /DEBUGPORT=BOCHS"

View file

@ -1710,6 +1710,11 @@ KdbpGetCommandLineSettings(
p2 += 8;
KdbDebugState |= KD_DEBUG_KDNOECHO;
}
else if (!_strnicmp(p2, "FIRSTCHANCE", 11))
{
p2 += 11;
KdbpSetEnterCondition(-1, TRUE, KdbEnterAlways);
}
p1 = p2;
}