![]() Now, there’s no such thing as a 64-bit version of Visual Studio, but I tried switching my project from An圜PU to x86 (it was being JITed to 圆4), in case Microsoft doesn’t support 64-bit processors: Someone somewhere idly wondered whether another person experiencing the same problem was using the 64-bit version of the debugger. Following that suggestion, I switched the project to target. It has been suggested that there’s a bug with Microsoft’s source server for. So it is finding my symbols, but claiming that it couldn’t find them.Ī guy from Microsoft Italy suggests turning off Require source files to exactly match original version: Leppie suggested that I check the Debug log (with the debug log window open otherwise it doesn’t log anything): Step into: Stepping over method without symbols '.ScaleControl'Įarlier in the log I see it loading symbols for : Loaded 'C:\Windows\assembly\GAC_MSIL\\2.0.0.0_b77a5c561934e089\', Symbols loaded. So it is downloading pdb symbol files, but refusing to use them. The configured symbol cache path on my computer does contain symbol cache files: Which isn’t the same as, or as useful as, being able to step into the. NET code:Īnd when I do, I end up debugging a disassembly of : ![]() NET code ( Debug -> Windows -> Disassembly), I can see a call into the. If I switch to disassembly view before trying to step into. NET code:Įxcept that it doesn’t work: Visual Studio tells me that there’s no source available: This would, I hope, allow me to jump to the. I try double-clicking on a function further up in the call stack. NET Framework source stepping in Visual Studio 2010? Pushing F11 causes the debugger to simply skip to the next line: Protected override void ScaleControl(SizeF factor, BoundsSpecified specified) I’ve been sitting on a breakpoint, which is about to call into. Point to Load Symbols From and click Microsoft Symbol Servers to download symbols from the Microsoft public symbols server or Symbol Path to load from a directory where you have previously stored symbols. You can tell if symbols are loaded or not by looking at the Symbols Status column. In the Modules window, right-click a module for which symbols are not loaded. To load Framework symbols using the Modules window ![]() Note: The Microsoft Symbol Server entry is already present (and cannot be removed). I also enabled the diagnostic messages of source server support.Įnabling those options automatically set a symbol cache download location for me: NET Framework source stepping will automatically uncheck **Enable Just My Code (Managed only). Note: You will note, as the MSDN page notes, and as I noticed, that checking Enable. In the General box, select the following check boxes: ![]() In the Options dialog box, click the Debugging category. NET Framework source steppingįollowing the instructions on the MSDN page How to: Debug.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |