mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +00:00
[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:
parent
5e130771e7
commit
f301a8c2d3
2 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue