Environment
- Pythonnet version: 2.2.2
- Python version: 3.6.1
- Operating System: macOS/Linux
Details
I want to get source files and line numbers partially from stack traces when exceptions occur inside monoclr, but currently it shows only<filename unknown> :0.
https://gist.github.com/jpcy/8646147#correct-source-files-and-line-numbers
According to this gist, mono_debug_init(MONO_DEBUG_FORMAT_MONO); seems to work, so I tried the patch like this:
takumn@2293744
It actually worked for DLL files compiled with /debug flag. Is it possible to extend PyNet_Init function for enabling mono debug information?
Environment
Details
I want to get source files and line numbers partially from stack traces when exceptions occur inside monoclr, but currently it shows only
<filename unknown> :0.https://gist.github.com/jpcy/8646147#correct-source-files-and-line-numbers
According to this gist,
mono_debug_init(MONO_DEBUG_FORMAT_MONO);seems to work, so I tried the patch like this:takumn@2293744
It actually worked for DLL files compiled with
/debugflag. Is it possible to extendPyNet_Initfunction for enabling mono debug information?