stackFrame.GetFileLineNumber returns 0

  • Thread starter Thread starter Anthony Malt
  • Start date Start date
A

Anthony Malt

Hi,

I'm trying to get the current Line Number from the Stack with
stackFrame.GetFileLineNumber, how ever the method return 0.

What's my error?

Thanks in advance for any advice

Anthony
 
Are you running a DEBUG version with the .pdb files accessible to the app?

If not, you won't be able to get the line number.
 
Back
Top