Skip to content

Cannot launch debug session since the new update. #14

@KenowaX

Description

@KenowaX

Hi,

Ever since the new STS2 update, I've been unable to launch a debug session. The game closes after the window pops up.
This is what's given in the debug console and in the regular console.

Debug ;

Pdb file for assembly  was not found or failed to read
Loaded Assembly '/home/arthur/.local/share/Steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/mscorlib.dll'
Loading module /home/arthur/.local/share/Steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/mscorlib.dll in application domain 1:clrhost
Pdb file for assembly /home/arthur/.local/share/Steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/mscorlib.dll was not found or failed to read
Loaded Assembly '/home/arthur/.local/share/Steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/System.IO.Pipelines.dll'
Loading module /home/arthur/.local/share/Steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/System.IO.Pipelines.dll in application domain 1:clrhost
Pdb file for assembly /home/arthur/.local/share/Steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/System.IO.Pipelines.dll was not found or failed to read

Regular ;

[INFO] Preloading 'IntroLogo' assets... count=3 vfx=0
[INFO] Window changed! New size: (1390, 749)
Fatal error. Invalid Program: attempted to call a UnmanagedCallersOnly method from managed code.
Fatal error while logging another fatal error.

I've had the copy pdb file line in the CSPROJ since the start and it used to work ;

<Copy SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFolder="$(ModsPath)$(MSBuildProjectName)/" />

I've tried deleting the PDB file from my custom mod and building again. Even though the PDB file is created, debugging still does not work.

Do you know what I could do to fix this ?

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