Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out a way to get loaded debug symbols working! #23

Open
dsisco11 opened this issue May 14, 2016 · 1 comment
Open

Figure out a way to get loaded debug symbols working! #23

dsisco11 opened this issue May 14, 2016 · 1 comment
Assignees

Comments

@dsisco11
Copy link
Owner

dsisco11 commented May 14, 2016

For some unknown reason even when we load .pdb file data for any loaded assemblys using Assembly.LoadFrom(byte[], byte[]) any thrown exception stack traces do not include any file or line information.

It almost seems like maybe unity forcefully unloads any debug information while not in debug builds, but that's only speculation.
Is such a thing even possible? Can you tell an AppDomain to not allow debug information to load?
This will require a lot more investigation, perhaps decompiling the exe's will yield useful information, time to open up IDA Pro...

@dsisco11
Copy link
Owner Author

Possible solution:
http://forum.kerbalspaceprogram.com/index.php?/topic/102909-ksp-plugin-debugging-and-profiling-for-visual-studio-and-monodevelop-on-all-os/

Apparently mono does indeed refuse loading debug info at ALL unless using a debug build.
It also seems that mono can't(?) load .pdb files and we need to convert them to it's own .mdb format as a post-build step (no problem there)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant