pdb-files

Visual Studio 2010 debugger build correctly - compiler pdb and linker pdb not in synch?

我怕爱的太早我们不能终老 提交于 2020-01-04 05:29:05
问题 I have a solution in MS VS 2010 that compiles and builds properly after a rebuild all (1). However, after I make a change to a source file and begin debugging, VS recognizes the project is out of date and builds the project (2) successfully (as expected). The problem is that it seems VS begins debugging the project using obj/pdb/etc.. from (1) above instead of (2). If I break into the debugger and navigate to the module that changed in the file of interest, I'm told "the source file is

fatal error LNK1201: error writing to program database - Visual Studio 2003

只谈情不闲聊 提交于 2020-01-04 02:43:13
问题 I get this error: fatal error LNK1201: error writing to program database every time I edit my code and build again in visual studio 2003. The issue is resolved if I restart VS2003 but I need to do this every time i build the project. I have been googling and stackoverflowing ;) for a few hours and have tried the following proposed solution: Change the Debug Information Format from Zi to Z7. ( Property -> C/C++ -> General -> Debug Information Format ) This did not work Change Visual Studio

How to load symbols in Visual Studio 2012

谁都会走 提交于 2020-01-03 07:22:46
问题 When I am debugging my app I see messages: cannot find or open the PDB file I seem to remember being able to specify the location of the PDB file while debugging the app. How can I do this? I'm using Visual Studio 2012. 回答1: Adding Symbols Location Open Settings: Tools->Options -> Debugging -> Symbols and add directory, where your .PDB files are located. screenshot of Visual Studio Interface where this menu located You can add custom path, like for each project, and also you can edit common

Trying to take out all ATOM from pdb file

别等时光非礼了梦想. 提交于 2020-01-03 04:54:28
问题 Hello I am trying to take out all the lines that start with ATOM from a pdb file. For some reason, I am having trouble. My code is: open (FILE, $ARGV[0]) or die "Could not open file\n"; my @newlines; my $atomcount = 0; while ( my $lines = <FILE> ) { if ($lines =~ m/^ATOM.*/) { @newlines = $lines; $atomcount++; } } print "@newlines\n"; print "$atomcount\n"; 回答1: The line @newlines = $lines; re-assigns $lines to the array @newlines and thus overwrites it with every iteration of the while loop.

Is it safe to manually generate .appxsym and .appxupload for Windows Store Apps crash analysis?

﹥>﹥吖頭↗ 提交于 2020-01-02 05:17:07
问题 We have an app with a manual packaging process (MakeAppx.exe). We would like to publish this app to the Store including the public symbols files, so that I can download the .cab process dump file for crash analysis (such as described here). I understand the .appxupload is a zip-file contaning the .appx package and an .appxsym file, which in turn is a .zip file containing the .pdb files (also according to MSDN). Is it safe to manually generate/edit these .appxsym and .appxupload for publishing

Add line numbers to stack trace of ASP.NET web site that is deployed in release mode

让人想犯罪 __ 提交于 2020-01-02 02:32:08
问题 I working on maintenance of one web application, this web site having error log functionality as well. My client occasionally face some issue on website which also logged in error log file but it shows only method calling hierarchy where exception occurred in stack trace. When I explicitly raise exception on my Dev environment stack trace of exception shows method calling hierarchy and its line number from where actual exception has occurred. I know in production we are deploying only DLLs

Any recommended VC++ settings for better PDB analysis on release builds

感情迁移 提交于 2019-12-29 04:20:27
问题 Are there any VC++ settings I should know about to generate better PDB files that contain more information? I have a crash dump analysis system in place based on the project crashrpt. Also, my production build server has the source code installed on the D:\, but my development machine has the source code on the C:\. I entered the source path in the VC++ settings, but when looking through the call stack of a crash, it doesn't automatically jump to my source code. I believe if I had my dev

Any recommended VC++ settings for better PDB analysis on release builds

僤鯓⒐⒋嵵緔 提交于 2019-12-29 04:20:07
问题 Are there any VC++ settings I should know about to generate better PDB files that contain more information? I have a crash dump analysis system in place based on the project crashrpt. Also, my production build server has the source code installed on the D:\, but my development machine has the source code on the C:\. I entered the source path in the VC++ settings, but when looking through the call stack of a crash, it doesn't automatically jump to my source code. I believe if I had my dev

No Symbols Loaded: libmex.pdb not loaded (throw_segv_longjmp_seh_filter() = EXCEPTION_CONTINUE_SEARCH : C++ exception)

只愿长相守 提交于 2019-12-25 09:14:25
问题 In order to create a MEX function and use it in my MATLAB code, like this: [pow,index] = mx_minimum_power(A11,A12,A13,A22,A23,A33); I've created the file mx_minimum_power.cpp and written the following code in it: #include <math.h> #include <complex> #include "mex.h" #include "matrix.h" #include "cvm.h" #include "blas.h" #include "cfun.h" using std::complex; using namespace cvm; /* The gateway function */ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { const int

Unable to step into PresentationFramework

无人久伴 提交于 2019-12-24 19:06:27
问题 I am trying to step into PresentationFramework, but the debugger just skips ahead to the next line. I have loaded the symbols using the Modules window. I have enabled .NET Framework source stepping I have disabled Just My Code I have used resharper to generate pdb and decompile the source, but stepping through those is really difficult. Partly because many variables have generic names (num1, num2 etc), but mostly because the debugger seemingly just around somewhat randomly - sometimes