debug-symbols

LLVM translation unit

会有一股神秘感。 提交于 2019-12-06 07:03:20
问题 I try to understand LLVM program high level structure. I read in the book that " programs are composed of modules ,each of which correspons to tranlation unit ".Can someone explain me in more details the above and what is the diffrenece between modules and translation units(if any). I am also interested to know which part of the code is called when translation unit starts and completes debugging information encoding? 回答1: Translation unit is term from language standard. For example, this is

Make gdb search for symbol files again

痴心易碎 提交于 2019-12-06 04:51:39
My distribution (Debian) ships debug files in separate packages. So what happens often is that I run a program in gdb until it crashes, in order to obtain a usable backtrace for a bug report. But bt is rather useless, missing the symbol information – because I did not install the corresponding -dbg package. If I install the package now, is there a way to make gdb search for the symbol files again, without losing my current backtrace? There is a trick you can use to make gdb try to read symbol files again: (gdb) nosharedlibrary (gdb) sharedlibrary The first command tells it to forget all the

Is stacktrace information available in .NET release mode build?

无人久伴 提交于 2019-12-06 03:32:06
问题 If I choose release mode to build a dll, is the stacktrace information still available? If so, then what information is unavailable in release mode? 回答1: You always have stack trace information--that's a runtime feature unrelated to the build mode--but line numbers and source file names are normally unavailable in release build stack traces. You can get both line numbers and source file names in release build stack traces (including in exceptions) by altering the build configuration to create

Using DebugDiag with an in-house application

末鹿安然 提交于 2019-12-06 00:16:38
How do I use DebugDiag with an in-house application? What do I need to do (include obj file, link to an assembly, etc) Debugdiag Analysis requires symbols (By default the Microsoft public symbol server is already configured with Debugdiag). All downloaded Microsoft public symbols will be places in “c:\symcache” If you have an in-house app, and you have symbols, then you can just add your PDB files (only) to the symbol path: “c:\symcache” During debugging, if you are setting breakpoints, then you also need symbols added to the appropriate path. “c:\symcache” 来源: https://stackoverflow.com

How to obtain pre-built *debug* version of Python library (e.g. Python27_d.dll) for Windows

五迷三道 提交于 2019-12-05 20:54:27
问题 Firstly, I should state that my current development environment is MSYS + mingw-w64 + ActivePython under Windows 7 and that on a normal day I am primarily a Linux developer. I am having no joy obtaining, or compiling, a version of the Python library with debug symbols. I need both 32bit and 64bit debug versions of the Python27.dll file, ideally. I want to be able to embed Python and implement Python extensions in C++, and be able to call upon a seamless debugging facility using the gdb-7.4 I

xcodebuild build action to distribute a dynamic framework with stripped dSYM

安稳与你 提交于 2019-12-05 20:00:41
I used to build our dynamic frameworks for internal development using xcodebuild -workspace <workspace_path> build -configuration "Release" now that we are shipping frameworks to 3rd party developers we want to remove symbols from framework binary. I noticed that using build option the binary always contains the symbols, even if the project is configured with: DEBUG_INFORMATION_FORMAT = dwarf-with-dsym STRIP_INSTALLED_PRODUCT = YES STRIP_STYLE = non-global It seems that using archive xcodebuild action the framework is generated with a binary without symbols and a separated dSYM file. However

NHibernate loading symbols from SymbolSource.org

微笑、不失礼 提交于 2019-12-05 18:27:37
I would like to be able to debug NHibernate and I have never loaded any symbols from SymbolSource.org before. What url do I need to enter in Visual Studio to get it to load the symbols for NHibernate so that I can debug it properly? I'm running version 3.2.0.4000 of NHibernate. Edit: This is how I have it configured. I see this in the output window. Notice that it loads the symbols for Iesi.Collections but not NHibernate. 'QTAgent32.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\cwerner\TFS\Zeta\TestResults\cwerner_LKN030 2012-05-23 07_33_53\Out\NHibernate.dll' 'QTAgent32.exe' (Managed (v4.0

Debug Symbols not loading

狂风中的少年 提交于 2019-12-05 12:48:26
问题 I am trying to configure visual studio to enable me to step into the .net framework source code when I am debugging. I have tried with both Visual Web-Developer-Express-2010 and Visual-Studio-2011-Express-For-Web as well as Visual-Studio-2011-Express-For-Web on Win8CP and I am getting the same problem with each. I have read numerous tutorials on how to set it up and the settings I have I believe to be correct. Debugging General Settings - also - Debugging Symbol Settings - I have tried both

Windows Debugging Symbols - Not Loading

拟墨画扇 提交于 2019-12-05 07:46:00
I am having Windows 7 x64 SP1. I have downloaded symbols from: http://msdn.microsoft.com/en-us/windows/hardware/gg463028 I have downloaded and installed x64 RTM and x64 SP1 symbols for Windows 7 x64 SP1. Installed on T:\Symbols folder. But When I debug a 64-bit native C++ application, the symbols would not load at all. For ntdll.dll , for instance, the PDBs are located in: T:\Symbols\ntdll.pdb\6192BFDB9F04442995FFCB0BE95172E12 T:\Symbols\ntdll.pdb\CFF40300FD804691B73E12CF2A150EE02 But Visual Studio (2008/2010) will not load symbols. While debugging, from Modules View, I select ntdll.dll and

Visual Studio Code not loading symbols on OS X

允我心安 提交于 2019-12-05 04:44:29
I am trying to set up a web api using ASP.NET Core on OS X. I have set up my environment correctly (I think) and I'm able to build and run my application using dotnet build from the terminal, and I'm able to start debugging from Visual Studio Code with breakpoints working as expected. My problem is that I receive an error when trying to query my Sqlite database using EF core. EF core is not really important here, because when I am debugging and trying to find out what the error is, I don't get any stack trace. When I step over the failing code the debug console prints: Exception thrown: