source-server

How do I embed source into pdb, and have debugger(s) use it?

夙愿已清 提交于 2020-04-07 14:51:29
问题 NOTE : my target concern is C# targeting the CLR with regular MSIL in case there's something that works for that but not in the more general case(s). Some existing source debugging support examples There was recently a release of the Sourcepack project which allows a user to rewrite the source paths in a pdb file to point at different locations. This is very useful when you have the source for the assembly, but don't want to try and get it into the exact same filesystem location(s) as when it

How do I embed source into pdb, and have debugger(s) use it?

依然范特西╮ 提交于 2020-04-07 14:51:13
问题 NOTE : my target concern is C# targeting the CLR with regular MSIL in case there's something that works for that but not in the more general case(s). Some existing source debugging support examples There was recently a release of the Sourcepack project which allows a user to rewrite the source paths in a pdb file to point at different locations. This is very useful when you have the source for the assembly, but don't want to try and get it into the exact same filesystem location(s) as when it

Cannot step into .NET framework source with VS2008 SP1

孤者浪人 提交于 2019-12-20 09:19:13
问题 Somehow my VS2008 SP1 has lost the ability to step into .NET framework sources. I've played around with checkboxes to no end; I've re-deleted the Symbol cache folder a dozen times; and I've tried all kinds of debug symbol servers. All it does is download some .PDB files, but when I try to select a stack frame in .NET, I always get the message about no source available and "do you want to view disassembly". What gives? Added: Web application; Windows Vista Business x32; .NET 3.5 SP1. 回答1: I

Visual Studio debugger: Break on entering an external function?

对着背影说爱祢 提交于 2019-12-05 19:08:28
问题 With "Just My Code" turned off and a source location/server, it's easy to step into functions that are not in your code. Is there a way to set a breakpoint on one of these, though? Basically, I want to say "when this function is called from anywhere, break and show me the source". I tried the "set function breakpoint" and entering the fully-qualified name of the function, however it said it couldn't find the function. 回答1: I figured it out thanks to the wonderful blog post TIP: Set

Visual Studio debugger: Break on entering an external function?

こ雲淡風輕ζ 提交于 2019-12-04 03:30:50
With " Just My Code " turned off and a source location/server, it's easy to step into functions that are not in your code. Is there a way to set a breakpoint on one of these, though? Basically, I want to say "when this function is called from anywhere, break and show me the source". I tried the "set function breakpoint" and entering the fully-qualified name of the function, however it said it couldn't find the function. Robert Fraser I figured it out thanks to the wonderful blog post TIP: Set breakpoints without source code in Visual Studio 2005 . Even though it reports that the method wasn't