Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

PR #86

Closed
wants to merge 1 commit into from
Closed

PR #86

wants to merge 1 commit into from

Conversation

Tanner253
Copy link

W: The call stack does not include the information needed, and data is lost off of the call stack.
W: Needs generic implementation of callback functions across multiple operating systems
W: Why is the exception being thrown?
W: Why is this necessary for the application?
W: Why is data in the call stack being lost?

@pixeltris
Copy link
Owner

  1. When some crashes occur callstack information is messed up (UE4's callstack walker doesn't know about CLR frames Mixed mode (C#/C++) callstack on unhandled exceptions #63)

  2. For generics you're talking about issues with the current implementation for platforms like iOS where AOT is required? I think that is mostly used for native delegates to reduce the amount of boiler plate code (and it's still ugly). It can be changed later if required for AOT. There are other generics issues with resolving FromNative / ToNative functions which need to be looked into.

  3. I'm not sure what you're referring to by "the exception", but there are still a lot of issues with USharp. Feel free to make an issue for crashes you find.

  4. You're asking why USharp exists (as opposed to just writing C++)? It's simply an alternative way to write code for UE4, you can see more implementations of other languages here https://github.com/pixeltris/USharp/wiki/Related-Projects.

  5. This is the same as the first question. It's explained in depth in Mixed mode (C#/C++) callstack on unhandled exceptions #63. If you attach a debugger to UE4 (with Managed/Native debugging enabled) then you will get the full callstack.

I'm closing this PR but feel free to open an issue (https://github.com/pixeltris/USharp/issues) for question 2 or question 3 (if you can get a callstack after attaching a debugger).

@pixeltris pixeltris closed this May 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants