Debugger: Implement notifications for debug info loading.
TeamDebugger: - When notified that an image debug info job has started loading, notify the user interface accordingly. Also reset status to a ready state whenever all in-flight jobs are complete. This allows the user to know when then debug subsystem is still in the process of parsing debug information, as this can be time consuming for larger programs/libraries.
This commit is contained in:
@@ -140,6 +140,7 @@ private:
|
||||
|
||||
virtual void ImageDebugInfoJobNeedsUserInput(Job* job,
|
||||
ImageDebugInfoLoadingState* state);
|
||||
virtual void ImageDebugInfoJobInProgress(Image* image);
|
||||
|
||||
// Team::Listener
|
||||
virtual void ThreadStateChanged(
|
||||
@@ -235,6 +236,11 @@ private:
|
||||
void _NotifyUser(const char* title,
|
||||
const char* text,...);
|
||||
|
||||
void _ResetUserBackgroundStatusIfNeeded();
|
||||
// updates user interface to
|
||||
// ready/completed message
|
||||
// for background work status
|
||||
|
||||
private:
|
||||
Listener* fListener;
|
||||
SettingsManager* fSettingsManager;
|
||||
|
||||
Reference in New Issue
Block a user