Gábor Kozár
2011-03-28 14:24:36 UTC
Hey guys,
I'm writing a tiny little post compiler, which simply makes some basic
transformations based on the attributes of the user code elements.
Now the assembly is modified correctly, and produces the expected result
when run, however, I would like to be able to debug the assembly as well.
VS says that "The breakpoint will not currently be hit. No symbols have been
loaded for this document." when trying to place a breakpoint into the source
code - I take it as an indicating of the debugger realizing that the
assembly has been modified and the symbol file has been not.
As far as I know Mono.Cecil is capable of altering symbol files. Could
somebody point me into the right direction with this? I have absolutely no
knowledge regarding the symbol files, or how the VS debugger works.
Any help would be greatly appreciated!
Thank you!
I'm writing a tiny little post compiler, which simply makes some basic
transformations based on the attributes of the user code elements.
Now the assembly is modified correctly, and produces the expected result
when run, however, I would like to be able to debug the assembly as well.
VS says that "The breakpoint will not currently be hit. No symbols have been
loaded for this document." when trying to place a breakpoint into the source
code - I take it as an indicating of the debugger realizing that the
assembly has been modified and the symbol file has been not.
As far as I know Mono.Cecil is capable of altering symbol files. Could
somebody point me into the right direction with this? I have absolutely no
knowledge regarding the symbol files, or how the VS debugger works.
Any help would be greatly appreciated!
Thank you!
--
--
mono-cecil
--
mono-cecil