TADDR IP = 0;
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
{"-EE", &DSFlag.fEEonly, COBOOL, FALSE},
{"-n", &DSFlag.fSuppressSrcInfo, COBOOL, FALSE},
{"-unwind", &unwind, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE}
-#endif
};
CMDValue arg[] = {
// vptr, type
{ // name, vptr, type, hasValue
{"-EE", &DSFlag.fEEonly, COBOOL, FALSE},
{"-short", &bShortList, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE}
-#endif
};
if (!GetCMDOption(args, option, _countof(option), NULL, 0, NULL))
CMDOption option[] =
{ // name, vptr, type, hasValue
{"-verify", &bVerify, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE}
-#endif
};
CMDValue arg[] =
{ // vptr, type
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
CMDOption option[] =
{ // name, vptr, type, hasValue
- {"/d", &dml, COBOOL, FALSE},
+ {"-i", &fILPointerDirectlySpecified, COBOOL, FALSE},
{"/i", &fILPointerDirectlySpecified, COBOOL, FALSE},
+ {"/d", &dml, COBOOL, FALSE},
};
CMDValue arg[] =
{ // vptr, type
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
CMDOption option[] =
{ // name, vptr, type, hasValue
{"-MD", &bDumpMDTable, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE}
-#endif
};
CMDValue arg[] =
{ // vptr, type
{"-length", &flags.Length, COSIZE_T, TRUE},
{"-details", &flags.bDetail, COBOOL, FALSE},
{"-nofields", &flags.bNoFieldsForElement, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
{ // name, vptr, type, hasValue
{"-nofields", &bNoFields, COBOOL, FALSE},
{"-refs", &bRefs, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
StringHolder str_Object;
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
{"-lines", &bLineNumbers, COBOOL, FALSE},
{"-l", &bLineNumbers, COBOOL, FALSE},
{"-ccw", &bCCW, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE}
-#endif
};
CMDValue arg[] =
{ // vptr, type
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE}
-#endif
};
CMDValue arg[] =
{ // vptr, type
{"-max", &mMaxSize, COHEX, TRUE}, // max size of objects to display
{"-live", &mLive, COHEX, FALSE}, // only print live objects
{"-dead", &mDead, COHEX, FALSE}, // only print dead objects
-#ifndef FEATURE_PAL
{"/d", &mDML, COBOOL, FALSE}, // Debugger Markup Language
-#endif
};
CMDValue arg[] =
{ "-fields", &dumpFields, COBOOL, FALSE }, // show relevant fields of found async objects
{ "-stacks", &includeStacks, COBOOL, FALSE }, // gather and output continuation/stack information
{ "-roots", &includeRoots, COBOOL, FALSE }, // gather and output GC root information
-#ifndef FEATURE_PAL
{ "/d", &dml, COBOOL, FALSE }, // Debugger Markup Language
-#endif
};
if (!GetCMDOption(args, option, _countof(option), NULL, 0, &nArg) || nArg != 0)
{
TADDR taddrArg = 0;
TADDR taddrObj = 0;
- // we may want to provide a more exact version of searching for the
- // previous object in the heap, using the brick table, instead of
- // looking for what may be valid method tables...
- //BOOL bExact;
- //CMDOption option[] =
- //{
- // // name, vptr, type, hasValue
- // {"-exact", &bExact, COBOOL, FALSE}
- //};
-
BOOL dml = FALSE;
CMDOption option[] =
{ // name, vptr, type, hasValue
CMDOption option[] =
{ // name, vptr, type, hasValue
{"-mt", &bMethodTables, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
{"-prof", &bProfilerModified, COBOOL, FALSE},
};
CMDValue arg[] =
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
{"-special", &bPrintSpecialThreads, COBOOL, FALSE},
{"-live", &bPrintLiveThreadsOnly, COBOOL, FALSE},
{"-managedexception", &bSwitchToManagedExceptionThread, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
if (!GetCMDOption(args, option, _countof(option), NULL, 0, NULL))
{
{ // name, vptr, type, hasValue
{"-ti", &doHCDump, COBOOL, FALSE},
{"-wi", &doWorkItemDump, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
if (!GetCMDOption(args, option, _countof(option), NULL, 0, NULL))
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
{"-o", &bDisplayOffsets, COBOOL, FALSE},
{"-il", &bIL, COBOOL, FALSE},
{"-map", &bDisplayILMap, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
CMDOption option[] =
{ // name, vptr, type, hasValue
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // name, vptr, type, hasValue
{"-nostacks", &bNoStacks, COBOOL, FALSE},
{"-all", &all, COBOOL, FALSE},
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{"-gc", &bGC, COBOOL, FALSE},
{"-f", &bFull, COBOOL, FALSE},
{"-r", &bDisplayRegVals, COBOOL, FALSE },
-#ifndef FEATURE_PAL
{"/d", &dml, COBOOL, FALSE},
-#endif
};
CMDValue arg[] =
{ // vptr, type