i'm working on a CF project for a while now, and the VS started to behave starnge for me at least.
I observed that when I start debugging, it builds the project, it's starting the deloy, the deploy finishes and it's starting to load symbols for my project.
But it is very slow, and I don't know why it started to do this step. I have no ...
I am doing embedded software development. By nature, I have 3 different applications running simultaneously that are guaranteed to run in different ranges of virtual addresses, e.g.
App 1 runs on 0x10000000 - 0x20000000, App2 runs in 0x20000000 - 0x30000000 and so on.
Generally GDB seems to accept only one symbol definition file. But i...
I followed these steps to be able to debug in the .Net framework code. This work well for some parts of the framework (for example for System.Drawing.dll), but not for other parts (clr.dll, mscoree.dll, ...).
This seems a bit strange to me since the code in these dlls was released by Microsoft (at least the parts I see in the call stack...
I've setup _NT_SYMBOL_PATH and have pointed it to
srv*c:\symbols*http://msdl.microsoft.com/download/symbols
When starting the debugger, I notice that the Windows related dlls load quickly. However, our company's dlls are taking a god awful long time to load. When I get rid of _NT_SYMBOL_PATH, restart visual studio, then everything lo...
I am experimenting an analysis tool that can analyze executable files with embedded debug symbol information in Windows. While trying this tool on several open source projects, I realize that most of the builds do not keep symbolic information in executable files. I am able to compile the source code with VS (2008), but the build normall...
Hello. I'm using Visual Web Developer 2008 Express + Silverlight 3 Tools + Silverlight 3 Developer runtime, debugging in Firefox 3.6.8.
When I create a Silverlight project and let the IDE set up an ASP.NET site to host it, the breakpoints will not be hit. If I create a single Silverlight project it will be fine. Something must be wrong...
I have received a crash log from a beta tester. The crash log was only partially symbolicated (don't know why), but it is caused by an exception:
9 libobjc.A.dylib 0x000048cc objc_exception_throw + 64
10 CoreFoundation 0x0009be8a +[NSException raise:format:arguments:] + 62
11 CoreFoundation ...
Given an assembly and its pdb, how do I get the line number and path to a method using .Net?
...
I am having trouble setting up Microsoft .NET Framework source code debugging for both Visual Studio 2008 and 2010 on Windows 7 x64 (I am having similar trouble on Vista x86 too).
I have followed instructions from this blog post as well as some other resource but without much success. I have also downloaded and installed all symbols fro...
Hi all
Visual Studio takes a lot of extra time loading symbols for external dlls which I'd rather not load. I have fiddled with my symbol settings in VS2008 and these settings seem to be affecting VS2010
How do I stop it loading 3rd party symbols?
I've tried:
devenv /resetuserdata
Tools > Options > Debugging > Symbols (I can't remove ...
I am using windbg 6.12.0002.633 X86 on Windows Vista to analyze memory dumps for memory leaks.
I'm trying to use the command `dumpheap -stat to determine the quantities of objects in the heap.
Unfortunately, I'm getting the error *** ERROR: Symbol file could not be found. Defaulted to export symbols for SLC.dll. I have activated !sym no...
PointerToSymbolTable:
The file offset of the COFF symbol
table, or zero if no COFF symbol table
is present. It is 0 for PE image
files, since debugging information is
depreciated.
Why it says debugging information is depreciated for PE image? AFIAK, executables in windows can also carry debug information,isn't that the case...
I have just been issued with a Windows 7 (64 bit) machine at my code shop. We run Visual Studio 2005. I filled out the Tools|Options|Debugging|Symbols panel, pointing to the Microsoft Symbol Server and caching to C:\windows\symbols, and started a new instance of our app. There was a pause as the MS symbol server was contacted, then th...
Here's some example code to give an idea of what I want.
int regular_function(void)
{
int x,y,z;
/** do some stuff **/
my_api_call();
return x;
}
...
void my_api_call(void)
{
char* caller = get_caller_file();
int line = get_caller_line();
printf("I was called from %s:%d\n", caller, line);
}
Is there a w...
Which is better to use, and why, on a large project:
#if DEBUG
public void SetPrivateValue(int value)
{ ... }
#endif
or
[System.Diagnostics.Conditional("DEBUG")]
public void SetPrivateValue(int value)
{ ... }
...
By default, gcc will add symbol table to the executable, so gdb will get a readable stack trace.
Documentation for -ggdb1 option in gcc man page says:
Level 1 produces minimal information, enough for making backtraces in parts of the program that you don't plan to debug. This includes descriptions of functions and external variables...
I need to set a break point in code that is handling an exception inside Froyo. I am using Eclipse and have built a local copy (not customized) of Froyo so it should line up for my device. Is there a way to tell ADB and/or Eclipse to load symbols so I can step into the code?
...
When using minified or generated javascript I would like to be able to see the original source an step through the original rather than the generated output.
This would be in much the same way debugging symbols for compiled binary files let you see the original source.
The original source might not even be javascript but some equivalen...
Given a Type object in .NET, is it possible for me to get the source code filename? I know this would only be available in Debug builds and that's fine, I also know that I can use the StackTrace object to get the filename for a particular frame in a callstack, but that's not what I want.
But is it possible for me to get the source code ...