jellyfin-plugin-template
jellyfin-plugin-template copied to clipboard
Native debugger skipped loading symbols for managed module.
Environment
windows 11 Dotnet SDK 6.0 Visual Studio 2022 jellyfin-combined-10.8.0-beta2
Reproduce steps
- Download jellyfin-combined-10.8.0-beta2, and unzip it to
D:\jellyfin
. - Download the Example Plugin Project from this repository, open it in Visual Studio 2022.
- Edit GUID. https://github.com/yodhcn/jellyfin-plugin-template/commit/420fceb4f10352a2ccd4871a8483d0e0292b290e
- Open
Jellyfin.Plugin.Template.sln
, and click "Build" in "Debug" mode. - Copy
Jellyfin.Plugin.Template.dll
&Jellyfin.Plugin.Template.pdb
to jellyfin's plugin directory. (C:\Users\admin\AppData\Local\jellyfin\plugins\Template
). - https://github.com/jellyfin/jellyfin-plugin-template#6a-set-up-debugging-on-visual-studio Right-click on the solution, And click on Add -> Existing Project... Locate Jellyfin executable in your installation folder and click on 'Open'. It is called Jellyfin.exe. Now The solution will have a new "Project" called Jellyfin. This is the executable, not the source code of Jellyfin. Right-click on this new project and click on 'Set up as Startup Project' Right-click on this new project and click on 'Properties' Make sure that the 'Attach' parameter is set to 'No'
- Click "Start".
Problem
I can't use breakpoint. I don't know which step I did wrong.
[Symbol Status] Native debugger skipped loading symbols for managed module.
[Symbol Load Information] This module is a pre-compiled binary created by the ngen.exe tool. The debugger does not attempt to load symbols for these binaries, but will instead load symbols for original dll/exe when it is loaded by the .NET Runtime.
jellyfin Log
[21:08:16] [INF] [1] Main: Jellyfin version: 10.8.0
[21:08:16] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\\Users\\admin\\AppData\\Local\\jellyfin\\log]"]
[21:08:16] [INF] [1] Main: Arguments: ["D:\\jellyfin\\jellyfin.dll"]
[21:08:16] [INF] [1] Main: Operating system: Windows
[21:08:16] [INF] [1] Main: Architecture: X64
[21:08:16] [INF] [1] Main: 64-Bit Process: True
[21:08:16] [INF] [1] Main: User Interactive: True
[21:08:16] [INF] [1] Main: Processor count: 8
[21:08:16] [INF] [1] Main: Program data path: C:\Users\admin\AppData\Local\jellyfin
[21:08:16] [INF] [1] Main: Web resources path: D:\jellyfin\jellyfin-web
[21:08:16] [INF] [1] Main: Application directory: D:\jellyfin\
[21:08:16] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: C:\Users\admin\AppData\Local\jellyfin\cache
[21:08:16] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[21:08:16] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Template, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Users\admin\AppData\Local\jellyfin\plugins\Template\Jellyfin.Plugin.Template.dll
[21:08:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[21:08:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
[21:08:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[21:08:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[21:08:17] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
f850c376-292d-43ed-8698-e498eeb29621
[21:08:18] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Template 1.0.0.0
[21:08:18] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.0.0
[21:08:18] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.0.0
[21:08:18] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.0.0
[21:08:18] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.0.0
[21:08:18] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.0.0
[21:08:18] [INF] [1] Main: Kestrel listening on Any IP4 Address
[21:08:18] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[21:08:19] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for 提取章节图片 set to fire at 2022-04-27 02:00:00.000 +08:00, which is 04:51:40.9971132 from now.
[21:08:19] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 4.4.1
[21:08:19] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "flac", "mp3"]
[21:08:19] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "flac", "libmp3lame", "libopus", "libvorbis", "srt"]
[21:08:19] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "hwupload_cuda", "overlay_opencl", "overlay_qsv", "overlay_cuda", "scale_cuda", "scale_opencl", "scale_qsv", "tonemap_cuda", "tonemap_opencl", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[21:08:19] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: overlay_vaapi with option Action to take when encountering EOF from secondary input is not available
[21:08:19] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "dxva2", "qsv", "d3d11va", "opencl"]
[21:08:19] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: ffmpeg
[21:08:19] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: d6a2ca6cd69d494b9eb72dbd29c57b39
[21:08:19] [INF] [1] Emby.Dlna.Main.DlnaEntryPoint: Registering publisher for urn:schemas-upnp-org:device:MediaServer:1 on 192.168.195.156/24
[21:08:19] [INF] [1] Emby.Dlna.Main.DlnaEntryPoint: Registering publisher for urn:schemas-upnp-org:device:MediaServer:1 on 172.18.80.167/16
[21:08:19] [INF] [1] Emby.Dlna.Main.DlnaEntryPoint: Registering publisher for urn:schemas-upnp-org:device:MediaServer:1 on 127.0.0.1/8
[21:08:19] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.0892479
te
[21:08:19] [INF] [1] Emby.Server.Implementations.Library.LibraryManager: Resetting user root folder path to C:\Users\admin\AppData\Local\jellyfin\root\default
[21:08:19] [INF] [1] Emby.Server.Implementations.Library.LibraryManager: Resetting root folder path to C:\Users\admin\AppData\Local\jellyfin\root
[21:08:19] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.0782642
[21:08:19] [INF] [1] Main: Startup complete 0:00:03.1940348
[21:08:22] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: 更新插件
[21:08:22] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
[21:08:22] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing 更新插件
[21:08:24] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: 更新插件 Completed after 0 minute(s) and 2 seconds
[21:08:24] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks