debug-symbols

How can I debug the source code of .Net Core or the Base class libraries (coreFx)?

[亡魂溺海] 提交于 2019-12-21 04:54:08
问题 I am using .NET Core 1.0 and Visual Studio 2015 Update 3 to make a simple Asp.Net Core MVC website. How can I debug my application and "Step Into" the .NET Core source code that is available on GitHub? Specifically, I am trying to troubleshoot one issue with Microsoft.AspNetCore.Authentication.Facebook 1.0.0 assembly that I fetched from NuGet. 回答1: I wrote this article more than 1 year ago so it's a bit out of date but the idea is still the same: You sync to the correct tag from GitHub. In

PDB files with Libraries in Visual Studio 10

你。 提交于 2019-12-20 10:33:52
问题 When building a static library ( .LIB ) in MS Visual Studio 10 with debug information, the .PDB is always named vc100.pdb . (as opposed to building a .DLL , where the debug info is [MyProjectName].pdb ) This is a problem for me because I'm trying to copy several different libraries (and their debug symbols) to a directory of "PublishedLibraries" , but all the vc100.pdb names obviously collide. I'm sure I can change the names of each .PDB to match its .LIB , but for me the bigger question is

Xcode 4 Instruments doesn't show source lines

北慕城南 提交于 2019-12-20 08:26:15
问题 I've just started playing with Xcode 4, and found that, no matter how I setup debugging symbols in the project, Instruments refuses to display source lines for stack trace items that correspond to my code. In only shows hex offsets and identifies my executable as the owning module. Turning on "Source Location" draws a blank too. This occurs even for the skeleton OpenGL ES project generated by Xcode (File → New → New Project... → iOS → Application → OpenGL ES Application). This problem only

VS2010 and VS2012 “Script Documents” section never appears, and I can't debug JavaScript

梦想的初衷 提交于 2019-12-19 03:38:13
问题 Tools: Windows 7, Visual Studio 2010 and 2012, IE 9, ASP.NET 4.0, MVC4 Until a couple of days ago I had been able to debug by using the Script Documents section in the Solution Explorer. Now, the Scripts Documents section does not appear when Start Debugging (F5). I do have IE set as the default browser. Using "debugger;" has no effect. Configuration is set to "Active (Debug)." Silverlight debugging is off. I have 'repaired' the Visual Studio 2010 inatallation. I have no idea how to correct

Where can I find and download different version of mscorwks.dll and mscordacwks.dll?

大兔子大兔子 提交于 2019-12-18 18:31:45
问题 I'm trying to get used to working with WinDbg to troubleshoot crash dumps when I'm able to get them, but every time I do it seems it's asking me for a different version of mscorwks.dll and mscordacwks.dll, and I don't always have access to the machine the dump came from. Other than telling end users they have to dig around in their Windows directory for these files on top of sending me an absurdly large "mini"-dump, is there somewhere I can get copies of different builds of these files?

A matching symbol file was not found (Cannot find/open pdb file)

断了今生、忘了曾经 提交于 2019-12-18 15:29:31
问题 The debug point is not getting enabled when this module gets loaded. So I thought of manually loading its debug symbols .pdb file from "Debug/obj" folder. In this case I am getting below error "A matching symbol" file was not found in this folder though that folder contains currently build file. And also the "Symbol Load Information" contains these many directory paths. Cannot find or open the PDB file. PDB does not match Screenshot: 回答1: This problem is fixed by the following steps- 1) Close

mono debug information with exceptions on debian?

*爱你&永不变心* 提交于 2019-12-18 14:51:53
问题 I thought apt-get install mono-dbg would solve it but i was wrong. How do i get debug information with mono? i am using debian squeeze but couldnt figure it out on debian lenny or etch. I wrote a dummy program below and i was hoping for a line number but i got this instead. This is a copy/paste from the console/terminal. Unhandled Exception: System.Exception: nooo blah at ExceptionTest.Program.func (Int32 a) [0x00000] in <filename unknown>:0 at ExceptionTest.Program.func (Int32 a) [0x00000]

mono debug information with exceptions on debian?

允我心安 提交于 2019-12-18 14:50:08
问题 I thought apt-get install mono-dbg would solve it but i was wrong. How do i get debug information with mono? i am using debian squeeze but couldnt figure it out on debian lenny or etch. I wrote a dummy program below and i was hoping for a line number but i got this instead. This is a copy/paste from the console/terminal. Unhandled Exception: System.Exception: nooo blah at ExceptionTest.Program.func (Int32 a) [0x00000] in <filename unknown>:0 at ExceptionTest.Program.func (Int32 a) [0x00000]

Prevent Visual Studio from trying to load symbols for a particular DLL

故事扮演 提交于 2019-12-18 10:25:07
问题 I have Visual Studio 2005 set up to use Microsoft's symbol servers. I also have UltraMon installed, which injects a hook DLL into every process. Whenever I start debugging my MFC application, Visual Studio says: "Loading symbols for C:\Program Files\UltraMon\RTSUltraMonHookX32.dll..." for anything from the blink of an eye to several tens of seconds. It's never going to find those symbols... Can I tell it not to bother looking? (I tried creating an empty RTSUltraMonHookX32.pdb file, but Visual

Import class-dump info into GDB

醉酒当歌 提交于 2019-12-18 10:01:48
问题 Is there a way to import the output from class-dump into GDB? Example code: $ cat > test.m #include <stdio.h> #import <Foundation/Foundation.h> @interface TestClass : NSObject + (int)randomNum; @end @implementation TestClass + (int)randomNum { return 4; // chosen by fair dice roll. // guaranteed to be random. } @end int main(void) { printf("num: %d\n", [TestClass randomNum]); return 0; } ^D $ gcc test.m -lobjc -o test $ ./test num: 4 $ gdb test ... (gdb) b +[TestClass randomNum] Breakpoint 1