Thanks for the update on the sample, it helped a bit.
The PDB is created, and I managed to get some variable(Property) information in it. When debugging the DLL I can inspect the value of a variable!!
What I dont get to work is this:
Assign a group of statements to a line of source code. Suppose in my DSL I have the line:
Foo = 1;
The parser uses the Assignment class to create assignment IL code. I provide source location information, but when I debug the generated DLL it sees the whole source as 1 line. The whole source code is set as a breakpoint(RED in default VS2010 color scheme).
Even if i provide 2 lines of code, the VS2010 debugger sees the whole source as 1 statement. How do I 'attach' a single line of DSL source code to a group of AST Statements? (or the other way around -> This bunch of AST Statements represents the following
piece of text).