debug-symbols

How to generate Debug symbols with Makefile for C? [Linux]

偶尔善良 提交于 2019-12-03 07:21:16
I'm trying to use GDB and KDEvelop to debug a console app under Knoppix VM. KDevelop and GDB don't break at my breakpoints. I suspect it's because they don't have debug symbols. If I'm correct how do I need to change my Makefile to create those. Maybe the problem is somewhere else? Regards, Ariel dmckee Include -g in the flags sent to the compiler and linker. The default variables for this are CFLAGS and LDFLAGS respectively. The second step: exclude -s from flags ( -s means strip ) If you are able to see source and set the breakpoint, then you probably have debugging symbols established.

Where to get iOS system symbols for other iOS versions

空扰寡人 提交于 2019-12-03 05:39:58
Please note: I am asking for a place I can download the symbols, or for a conclusive answer that such a site is prohibited by Apple. The "duplicate" question is similar to the one I linked in my question: the only suggested answer is to get access to a physical device or to find another developer who has one. I've symbolicated a crashdump, but only the lines in my application code get symbolicated; system code does not. It looks something like this: Thread 0 Crashed: 0 libobjc.A.dylib 0x39c195d0 0x39c16000 + 13776 1 QuartzCore 0x33aefcad 0x33ade000 + 72877 2 QuartzCore 0x33af3105 0x33ade000 +

How do I create and use a symbol server?

泄露秘密 提交于 2019-12-03 05:22:37
I created a powershell script that gets all the pdb files from the drop location after the build is set to release and copies them to a folder that is shared on the network. I also created a sample application and I added the nuget packages that contain the assemblies that I need (without the pdb files). I found some references on the net, but I was unable to debug my assemblies using the pdb files. I am using a VPN connection to connect to the shared folder that contains the pdb files and Visual Studio 2010. What are the exact steps that I need to make in order to use the pdb files that are

Debugging .NET code with MS's Symbol Server - VS does not show variable's values

我与影子孤独终老i 提交于 2019-12-03 05:04:24
问题 When I debug my ASP.NET web site code using the Microsoft debug symbol's for .NET .. I keep getting this silly 'result' for most of the variables when I'm debugging .NET framework code (which of course is provided by the Microsoft Symbol Server, which I told VS2008 to grab the info, from) Cannot obtain value of local or argument 'cookie' as it is not available at this instruction pointer, possibly because it has been optimized away. It's like the code I'm using is using optimized, compiled

Debugging .NET code with MS's Symbol Server - VS does not show variable's values

荒凉一梦 提交于 2019-12-02 18:16:55
When I debug my ASP.NET web site code using the Microsoft debug symbol's for .NET .. I keep getting this silly 'result' for most of the variables when I'm debugging .NET framework code (which of course is provided by the Microsoft Symbol Server, which I told VS2008 to grab the info, from) Cannot obtain value of local or argument 'cookie' as it is not available at this instruction pointer, possibly because it has been optimized away. It's like the code I'm using is using optimized, compiled code. If that's the case, can I tell it NOT to optimize? I'm in DEBUG configuration. It's very

Xcode 4 Instruments doesn't show source lines

為{幸葍}努か 提交于 2019-12-02 15:36:29
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 occurs in Instruments (I've tried CPU and OpenGL tracing so far). Gdb picks up debug symbols just fine.

xcode ld: 8 duplicate symbols for architecture x86_64

久未见 提交于 2019-12-02 14:01:06
问题 I am making a game in xcode and c++ with GLUT & OpenGL. I want to place a 3D model in my game and this is the general look of the header file: unsigned int GunNumVerts = 37812; float GunVerts [] = { // f 1/1/1 1582/2/1 4733/3/1 0.266494348503772, 0.0252334302709736, -0.000725898139236535, 0.265592372987502, 0.0157389511523397, -0.000725898139236535, 0.264890836474847, 0.0182004476109518, -0.00775888079925833,} float GunNormals [] = { // f 1/1/1 1582/2/1 4733/3/1 0.986904930120225, -0

No debugging symbols in gdb even when compiling with -g flag

放肆的年华 提交于 2019-12-01 15:16:10
I am trying to compile my program with debugging symbols for use in gdb. I have added the -g flag to my makefile but I still get "Reading symbols from ...(no debugging symbols found)" when I load the program in gdb. What is wrong?? Here is a stripped down example of my makefile which should have the relevant bits: CPP = g++ CFLAGS = -c -g -Wall $(BIN): $(OBJ) $(CPP) $(LDFLAGS) $(OBJ) -o $(BIN) $(LIBS) <test.o>: <test.cpp> $(CPP) $(CFLAGS) <test.cpp> -o <test.o> If you'd like to see the whole thing you can go here instead, though I don't think it's necessary: http://pastebin.com/vGNjy0ga

Getting a List of Symbols Used by My VC++ Code

只愿长相守 提交于 2019-12-01 13:17:56
I am building a tool that process my VC++ source codes. For this, I need to obtain a list of symbols including local variable names and their types used by my codes. I know Visual C++ 2010 already provides a .bsc file that allows the object browser to locate symbols quickly. But this is an interactive tool. I need to obtain a list of the symbols in a file. Is there any tools allowing us to programmatically obtain the list of symbols used in our own VC++ source codes? I tried the Debug Interface Access SDK provided by Microsoft. It allows us to read the .pdb file for the names of the local

Debug into nightly build of ASP.NET MVC4 using Symbolserver

馋奶兔 提交于 2019-12-01 11:41:18
I used this description to get the nightly build of ASP.NET MVC for my project http://blogs.msdn.com/b/henrikn/archive/2012/06/01/using-nightly-asp-net-web-stack-nuget-packages-with-vs-2012-rc.aspx Its pulls the assemblies sucesfully from nuget and I can run the project. I now try to debug into the pdb pulled from the MS symbol server. Thats actually the point: I dont know if these symbols are realy located on the servers. Either I am doing something wrong or symbols are not available. Here are my debug settings: These are my symbol servers This is what I see when I try to step into a method