Add a means for the user to locate source files if they are not found

at the location specified in the debug info.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39289 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2010-11-03 21:52:39 +00:00
parent 0fae873352
commit 5a13e7b045
8 changed files with 161 additions and 3 deletions
+10
View File
@@ -1,5 +1,6 @@
/*
* Copyright 2009, Ingo Weinhold, [email protected].
* Copyright 2010, Rene Gollent, [email protected].
* Distributed under the terms of the MIT License.
*/
@@ -524,6 +525,15 @@ TeamDebugger::MessageReceived(BMessage* message)
}
void
TeamDebugger::SourceEntryLocateRequested(const char* sourcePath,
const char* locatedPath)
{
AutoLocker<FileManager> locker(fFileManager);
fFileManager->SourceEntryLocated(sourcePath, locatedPath);
}
void
TeamDebugger::FunctionSourceCodeRequested(FunctionInstance* functionInstance)
{