Skip to content

Not exactly an issue. #2

@adoshev92

Description

@adoshev92

Thank you for this repository! I dreaded importing all the functions to c#. So far I've been using c++/cli but this adds a lot of extra code which is prone to bugs. Anyways, I wanted to suggest a few improvements. It is not an issue here because you are not setting a symbol server but if you did, initializing the symbols on each stacktrace would be really slow. Initializing them just once and then passing the hProcess to the StackTrace function is much faster. Also, there is no reason to call LoadModules() as SymInitialize() does that for you. Setting the SYMOPT_DEFERRED_LOADS flag is also a great improvement. I would love to make a PR if you wish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions