[Mono-list] Line Number in Error Messages

Alan Tam Tam@SiuLung.com
Wed, 22 Jan 2003 17:20:58 +0800


May I know where is the line number?

> Unhandled Exception: System.FormatException: System.String[] error.
> in <0x0019d> 00 PM.Web.HttpRequest:ProcessString (string)
> in <0x0007d> 00 PM.Web.HttpRequest:.ctor (string,string)
> in <0x00070> 00 PM.Web.HttpContext:.ctor ()
> in <0x00036> 00 PM.Env:.ctor ()
> in <0x00024> 00 PM.Env:Main ()

Compilation flags: -g

By the way, I think the line numbers in all stack frames are also useful.

Regards,
Alan

----- Original Message ----- 
From: "A Rafael D Teixeira" <rafaelteixeirabr@hotmail.com>
To: <Tam@SiuLung.com>; <mono-list@ximian.com>
Sent: 20030122 10:12
Subject: Re: [Mono-list] Line Number in Error Messages


> First line in the stack trace gives the exact number of line where the 
> exception ocurred. It doesn't need to be duplicated in the message.
> 
> Regards,
> 
> Rafael Teixeira
> Brazilian Polymath
> Mono, MonoQLE Hacker
> 
> 
> 
> 
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
>