Windows

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Stackframe problem

    0 answers - 927 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I would presume this is because you are not using debug builds. The
    symbol files are required to properly find line numbers you could,
    as an alternative, use memory offsets. I am not clear how to do
    this, but its an idea.
    Hope it helps.
    Chadwick
    In CSharpNET (AT) yahoogroups (DOT) com, Antonio Mazzeo <amazzeo@e
    wrote:
    lineNumber = stackFrame.GetFileLineNumber();
    This always returns 0, is there a way I can get the line number
    of
    the file that raised the exception?
    From MSDN:
    StackFrame.GetFileLineNumber Method
    Gets the line number in the file that contains the code that is
    executing.
    This information is typically extracted from the debugging symbols
    for the
    executable.
    Return Value
    The file line number. -or- Zero if the file line number cannot be
    determined.
    url:
    http://msdn2.microsoft.com/en-
    antonio

Re: Stackframe problem


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Windows"

EMSDN.COM