- MGR: Fix bug where there was no trailing backslash before

'symbols' was appended to the end of the symbol path.  This
        caused the stack tracing code not to download the actual
        symbol files needed to debug a problem.  I have no idea
        when this bug was introduced.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=18172
This commit is contained in:
Rom Walton 2009-05-20 21:48:09 +00:00
parent 754fc01c98
commit 03fb7929c9
2 changed files with 12 additions and 2 deletions

View File

@ -4670,3 +4670,13 @@ Rom 20 May 2009
clientgui/
MainDocument.cpp
Rom 20 May 2009
- MGR: Fix bug where there was no trailing backslash before
'symbols' was appended to the end of the symbol path. This
caused the stack tracing code not to download the actual
symbol files needed to debug a problem. I have no idea
when this bug was introduced.
lib/
stackwalker_win.cpp

View File

@ -594,9 +594,9 @@ int DebuggerInitialize( LPCSTR pszBOINCLocation, LPCSTR pszSymbolStore, BOOL bPr
// [DATADIR]\projects\project_dir\symbols
//
if (!diagnostics_is_flag_set(BOINC_DIAG_BOINCAPPLICATION)) {
strLocalSymbolStore += strCurrentDirectory + std::string("symbols");
strLocalSymbolStore += strCurrentDirectory + std::string("\\symbols");
} else {
strLocalSymbolStore += strExecutableDirectory + std::string("symbols");
strLocalSymbolStore += strExecutableDirectory + std::string("\\symbols");
}
// Microsoft Public Symbol Server