debug-symbols

Does Visual Studio have debug symbols available?

I'd like to track down a possible bug in Visual Studio, but that's awfully hard without the debug symbols for Visual Studio itself. Does Microsoft make these available? ...

Problem debugging .NET code with MS's Symbol Server

Hi folks, 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 argum...

Getting rid of "There is no source code available for the current location"

Ok, this is my own fault, but I can't seem to rescue myself. Whenever I try to step into a class that has fields with assignments calling into .NET code, I get a dialog box that contains this text: --------------------------- Microsoft Visual Studio --------------------------- There is no source code available for the current location...

How can i debug this line of code in Visual Studio?

Hi folks, i have the following line of code in VS2008. VirtualPathData virtualPathData = RouteTable.Routes.GetVirtualPath(_viewContext.RequestContext, "Home", pageLinkValueDictionary); I wish to debug this GetVirtualpath(..) method .. to see what it's trying to do. I'm assuming i need to grab the symbol...

Understanding Symbolic Debugger

I would like to understand how symbolic debuggers work?. What are debug symbol table and how it facilitates source-level debugging. I am quite oblivious to the behind the scene actions of debuggers..what actually happens when I provide '-g' option to gcc, what gets written to object file and such intricacies. I would be glad if SO commun...

dSYM Directories While Compiling C++ Code in MacOS

Hi, Why compiling C++ in Mac always create *.dSYM directories? Is there a way to disable that? ...

How to generate PDB's for .net managed projects in release mode?

I know PDBs are generated for managed projects in .NET by giving the compiler the /debug argument. Is there a way to specify this in the VS (2005) GUI? The only way I could get it to generate PDBs in release mode so far is to manually modify the .csproj file and to add : <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> ...

I want to debug (set a breakpoint in) System.Web.Mvc.DefaultControllerFactory, is that possible?

I have a project that references the System.Web.Mvc assembly in the GAC. I also have the ASP.NET MVC source code from Codeplex. I want to get a better understanding of the DefaultControllerFactory by stepping through its methods. How could I set this up? Thanks! ...

propagation of "-g" in shared libraries with gcc

I have the a program abc. abc uses the library def and def in turn includes a library ghi. Now, libghi.so is compiled and linked using gcc -g. libdef.so is also compiled and linked using gcc -g. However, abc isn't linked with -g. The question is, if I debug abc with gdb should I be able to see the symbols in def and ghi? The projec...

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

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, VS says: "Loading symbols for C:\Program Files\UltraMon\RTSUltraMonHookX32.dll..." for anything from the blink of an eye to several tens of se...

What's the risk of deploying debug symbols (pdb file) in a production environment?

I have an application that logs exception strack traces and I wanted those stack traces to include file names and line numbers when deployed in production. I figured out how to deploy the debug symbols w/ the assembly, but in the process of researching the issue I ran accross this question, which implies that it's not a good idea to inc...

Stepping over method without symbols - How to step into?

Using Visual Studio 2008 SP1 and a VB.NET project; I have some code which i cannot step into. The Immediate Window shows the message "Stepping over method without symbols 'Some.Namespace.Here'" How can i make sure the method always has symbols?! I need to step into every line of code. I am pressing F8 (which is "Step Into" in VS2008, f...

How can I get the correct symbols for microsoft's dlls\assemblies if I don't have an internet connection?

I can't connect the computer to the internet because of security reasons. therefore, I can't use the symbol server. I've installed the symbols pack for windows xp sp2 but some of the PDB's do not match the dlls installed on my machine (I guess it's because of some specific updates that were installed on my machine). as it seems, the onl...

Can I get debug symbols for flash player? Or any other way to get support for flash?

The company I am working for has a flash component (using flex and cs4) that crashes intermittently in chrome, FF and IE. (so far only win32 platforms) I submitted a bug report to Adobe but have not heard anything back from them. Their support process seems like a black hole. WE can get a dump from Flash using these steps but after s...

Visual Studio Debugger - decrease time to attach & load symbols

Generally speaking, what are your recommendations on this? Currently takes close to 10 minutes for me to attach to a locally running IIS process hosting SharePoint 2007. ...

Our application's symbols are not being found

We have a windows c++ executable which is occasionally hanging on shutdown on the deployment platform. We have the generated pdb file in the same directory as the exe file and I have checked they match using ChkMatch. When we use process explorer to view the threads that have not closed down, we see that it is only our application which...

How to get rid of exceptions thrown by the .NET Framework

In a recent project I'm using a lot of databinding and xml-serialization. I'm using C#/VS2008 and have downloaded symbol information for the .NET framework to help me when debugging. The app I'm working on has a global "catch all" exception handler to present a more presentable messages to users if there happens to be any uncaught exce...

Is showing the Exception StackTrace useful in a RELEASE assembly or only a DEBUG .dll

I've gone to some lengths to improve the error handling in my webservice - in particular, showing the StackTrace as in this example: catch (Exception ex) { EventLog log = new EventLog(); log.Source = g_EventSource; StringBuilder msg = new StringBuilder("Exception in UpdateRecord method has bee...

Why are some java libraries compiled without debugging information

Hi all, I've noticed recently that there's a few java libs (the JDK, joda time, iText) that compile without some/all of the debugging information. Either the local variable info is missing, or the both the local variable info and line numbers are missing. Is there any reason for this? I realise it makes compiled code larger but I don...

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

Hi 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 ...