[nem-en] Debug support

Kamil Skalski kamil.skalski at gmail.com
Sun Dec 17 13:02:22 CET 2006


This is surely a long and a bit boring process to ensure that debug
info is in correct format to understand by MDbgr... but maybe we can
fix the worst cases easily. I was searching for some tool to inspect
generated debug info and found:

http://blogs.msdn.com/jmstall/archive/2005/08/25/pdb2xml.aspx

For the easier start, you could post the most problematic examples, so
I can play with them (at best with their C# counterparts, so we can
compare). Currently I'm looking at:

def x = 333;

match (x) {
  | 1 => ()
  | 2 => ()
  | 3 => ()
  | 4 => System.Console.WriteLine (x);
  | 5 => System.Console.WriteLine (x);
  | 333 => System.Console.WriteLine (x);
  | _ => System.Console.WriteLine (x);
}

if (false)
  Nemerle.IO.printf ("Ala %d ma \n", 5);
else {
  def li = [1,2,3];
  System.Console.WriteLine (li);
}

06-12-15, vc <vc at rsdn.ru> napisał(a):
> The Nemerle compiler is successfully moving to the release. But there is one
> important problem, not solved up to this moment. It is the support for
> debugging.
>
> .Net programmers do have a habit of using debugger.
> But ncc generate very bad .pdb files.
> We need to make efforts for elimination of this problem.
>
> This is an intricate problem which can be solved only by the compiler team.
>
> Kamil, Michał, please, find some time to solve this problem.
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl


More information about the devel-en mailing list