Stackframe problem
0 answers - 927 bytes -

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