How to enable debug symbols in Photon applications?
Options
I want to have debug symbols enabled to have full exception and logging (log4net) info in my application dll. The dll is compiled with mono 3.2.6 in debug mode, generating a .mdb file. This .mdb and the associated .dll file are deployed in the application bin folder, but no stack trace data in exceptions is generated as well as the log4net filename and line number info. The current relevant application directory structure is as follows:
Photon_folder
----Application_folder
bin
XXX.dll
XXX.dll.mdb (also tried XXX.mdb)
Is there another pass that I'm not aware of?
Photon_folder
----Application_folder
bin
XXX.dll
XXX.dll.mdb (also tried XXX.mdb)
Is there another pass that I'm not aware of?
0
Comments
-
Hey,
I'm not exactly sure what you are doing here - I don't think that the Windows .NET runtime supports mono debug files at all, so you should rather build your apps with the .NET compilers, which generates debug information in .pdb files.0 -
Update: Now I have generated a .pdb using Mono.Cecil http://www.mono-project.com/Cecil and this code: http://stackoverflow.com/questions/13499384/is-it-possible-to-debug-assemblies-compiled-with-mono-xbuild-with-visual-studi. The .pdb file is now alongside the related dll, but the application is still not having stack trace or line number info. Is there something else I need to do?0