Skip to content

NRE in realtime-session-with-stacks line 123 #4

@desdesdes

Description

@desdesdes

Hi Brian,

Thanks for this great example. I sometimes got an NullReferenceException then running the code on program.cs line 123. After I replaced line 122 to 124 with the code below and the exception was fixed.

Task.Factory.StartNew((o) =>
{
    var localCurrent = (TraceCallStack)o;
    ResolveSymbolsForModule(localCurrent.CodeAddress.CodeAddresses, localCurrent.CodeAddress.ModuleFile);
}, current);

Best regards,
Bart Vries

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