Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Debug Symbols on il2cpp (Server) builds

Discussion in 'Linux' started by VRGroupRWTH, Apr 17, 2023.

  1. VRGroupRWTH


    Oct 23, 2021
    Hi all,
    I have a question regarding profiling/debugging dedicated servers built via il2cpp on linux.

    I have an il2cpp build of a server running in a k8s cluster (irrelevant really) - my continous profiling solution requires debug symbols to give meaningful information about stacktraces etc.

    As a first step, I tried to attach gdb to a single server process, but I'm not getting any information from the symbols.
    I tried manually adding the symbol tables from the 3 .debug files that the build process created, but that did not change anything.
    Does anyone have any pointers on how to get gdb, perf or ideally bcc tools to work with Unity debug symbols?