Skip to content

Crash after symbol lookup via Ctrl+Click (and open file) failed #128

Description

@SmallJoker
  1. Open a .NET or Mono assembly (I opened a game assembly from a Unity game)
  2. Ctrl+Click on a function that is not defined in the current assembly
  3. Be prompted to open the matching DLL
  4. Crash as shown below.
crit: CodemerxDecompile.Views.MainWindow[0]
      Unhandled exception occured
      System.Collections.Generic.KeyNotFoundException: The given key 'System.String UnityEngine.GameObject::get_tag()' was not present in the dictionary.
         at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
         at CodemerxDecompile.ViewModels.MainWindowViewModel.SelectNodeByMemberReference(MemberReference memberReference) in /home/runner/work/CodemerxDecompile/CodemerxDecompile/src/CodemerxDecompile/ViewModels/MainWindowViewModel.cs:line 165
         at CodemerxDecompile.ViewModels.MainWindowViewModel.TryLoadUnresolvedReference(MemberReference memberReference) in /home/runner/work/CodemerxDecompile/CodemerxDecompile/src/CodemerxDecompile/ViewModels/MainWindowViewModel.cs:line 223
         at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
         at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
         at Avalonia.Threading.DispatcherOperation.Execute()
         at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
         at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
         at Avalonia.Threading.Dispatcher.Signaled()
         at Avalonia.X11.X11PlatformThreading.CheckSignaled()
         at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken)
         at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
         at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
         at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
         at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
         at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
         at CodemerxDecompile.Program.Main(String[] args) in /home/runner/work/CodemerxDecompile/CodemerxDecompile/src/CodemerxDecompile/Program.cs:line 36

On a side note: Is there an option to disable tracking? I now added slapkit.matomo.cloud to my /etc/hosts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions