[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]This Week's Pnet Roadmap

From: Gopal V
Subject: Re: [DotGNU]This Week's Pnet Roadmap
Date: Sat, 27 Apr 2002 22:23:33 +0530
User-agent: Mutt/1.2.5i

On Sat, Apr 27, 2002 at 07:32:51PM +0530, Gopal V wrote:

> "Bugmeister" Awards
> -------------------
> /ME and Rhys are excluded from competition due to obvious reasons.

Clarifying those reasons.

If you need any inspiration to debug pnet, this is it !. The bug
described below is an example of how regression tests are insufficent.
Just try

|| ilasm -o error.exe
|| ilrun error.exe 
this just prints a blank line
|| ilrun error.exe hello world | less
watch this dump a whole memblock to screen . The "head"
protects you from console corruption and shows you that
the dump contains "hello" & "world". or a `grep -a "hello"`
will show it.

The error was achieved by marking 
|| public static void Main(String msg)
as the .entrypoint by compiling with cscc -S 
and manually putting in the .entrypoint in 'Main'.

This bug is due to ilrun assuming the .entrypoint's parameters.

So try and test stuff until you get a *great* bug !.

The difference between insanity and genius is measured by success

reply via email to

[Prev in Thread] Current Thread [Next in Thread]