{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/28301","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/28301/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/28301/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/28301/events","html_url":"https://github.com/dotnet/corefx/issues/28301","id":307179589,"number":28301,"title":"Question - What is the Difference between Debug Type Full & Pdb","user":{"login":"keyoke","id":183547,"avatar_url":"https://avatars3.githubusercontent.com/u/183547?v=4","gravatar_id":"","url":"https://api.github.com/users/keyoke","html_url":"https://github.com/keyoke","followers_url":"https://api.github.com/users/keyoke/followers","following_url":"https://api.github.com/users/keyoke/following{/other_user}","gists_url":"https://api.github.com/users/keyoke/gists{/gist_id}","starred_url":"https://api.github.com/users/keyoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyoke/subscriptions","organizations_url":"https://api.github.com/users/keyoke/orgs","repos_url":"https://api.github.com/users/keyoke/repos","events_url":"https://api.github.com/users/keyoke/events{/privacy}","received_events_url":"https://api.github.com/users/keyoke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-21T09:59:27Z","updated_at":"2018-03-21T13:23:31Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI have a question regarding the build output when setting the Debug Type Full or Pdb-Only in project properties on .NET Core. As far as I could see the assemblies produced are the same? I also don't see any difference in the pdb files which are produced... but maybe am missing something.\r\n\r\nIn full framework there is definitely a difference and it could have perf impact on resulting code, should we have the same concerns on .NET Core? or is it a non-issue.\r\n\r\n_\"One difference between -debug:pdbonly and -debug:full is that with -debug:full the compiler emits a DebuggableAttribute, which is used to tell the JIT compiler that debug information is available. Therefore, you will get an error if your code contains the DebuggableAttribute set to false if you use -debug:full. \" -  https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/debug-compiler-option\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/374934446","html_url":"https://github.com/dotnet/corefx/issues/28301#issuecomment-374934446","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/28301","id":374934446,"user":{"login":"keyoke","id":183547,"avatar_url":"https://avatars3.githubusercontent.com/u/183547?v=4","gravatar_id":"","url":"https://api.github.com/users/keyoke","html_url":"https://github.com/keyoke","followers_url":"https://api.github.com/users/keyoke/followers","following_url":"https://api.github.com/users/keyoke/following{/other_user}","gists_url":"https://api.github.com/users/keyoke/gists{/gist_id}","starred_url":"https://api.github.com/users/keyoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyoke/subscriptions","organizations_url":"https://api.github.com/users/keyoke/orgs","repos_url":"https://api.github.com/users/keyoke/repos","events_url":"https://api.github.com/users/keyoke/events{/privacy}","received_events_url":"https://api.github.com/users/keyoke/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T13:23:31Z","updated_at":"2018-03-21T13:23:31Z","author_association":"NONE","body":"ok thanks, the confusion for me was that for Full Framework our docs say there is a potential perf impact? I was wondering if this still applied for .NET Core, they also emit an additional attribute but I didn't see this in the produced assemblies so I guess this also doesn't apply .NET Core?\r\n\r\n_\"If you use -debug:full, be aware that there is some impact on the speed and size of JIT optimized code and a small impact on code quality with -debug:full. We recommend -debug:pdbonly or no PDB for generating release code. \"_\r\n\r\n_\"One difference between -debug:pdbonly and -debug:full is that with -debug:full the compiler emits a DebuggableAttribute, which is used to tell the JIT compiler that debug information is available. Therefore, you will get an error if your code contains the DebuggableAttribute set to false if you use -debug:full. \" - https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/debug-compiler-option"}}
{"actor":{"display_login":"keyoke"}}