~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValuePad.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-09-10 16:54:48 UTC
  • mfrom: (19.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100910165448-0rybfk25zd4o9431
Tags: 2.4+dfsg-2
* debian/patches/inject_Mono.Debugger.Soft_source.patch,
  debian/patches/use_system_Mono.Debugger.Soft.patch,
  debian/control:
  + Build against system Soft Debugger, since we now have a new
    enough Mono to match MonoDevelop's required API

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
//
27
27
 
28
28
using System;
29
 
using System.Xml;
30
 
using System.Collections.Generic;
31
29
using Gtk;
32
 
using MonoDevelop.Core;
33
 
using MonoDevelop.Core.Gui;
34
30
using MonoDevelop.Ide.Gui;
35
31
using Mono.Debugging.Client;
36
32
 
73
69
                        DebuggingService.PausedEvent += OnDebuggerPaused;
74
70
                        DebuggingService.ResumedEvent += OnDebuggerResumed;
75
71
                        DebuggingService.StoppedEvent += OnDebuggerStopped;
 
72
                        DebuggingService.EvaluationOptionsChanged += OnEvaluationOptionsChanged;
76
73
                        
77
74
                        needsUpdate = true;
78
75
                        initialResume = true;
89
86
                        DebuggingService.PausedEvent -= OnDebuggerPaused;
90
87
                        DebuggingService.ResumedEvent -= OnDebuggerResumed;
91
88
                        DebuggingService.StoppedEvent -= OnDebuggerStopped;
 
89
                        DebuggingService.EvaluationOptionsChanged -= OnEvaluationOptionsChanged;
92
90
                }
93
91
 
94
92
                public void Initialize (IPadWindow container)
140
138
                        tree.Sensitive = false;
141
139
                        initialResume = true;
142
140
                }
 
141
                
 
142
                void OnEvaluationOptionsChanged (object s, EventArgs a)
 
143
                {
 
144
                        if (!DebuggingService.IsRunning) {
 
145
                                lastFrame = null;
 
146
                                if (container != null && container.ContentVisible)
 
147
                                        OnUpdateList ();
 
148
                                else
 
149
                                        needsUpdate = true;
 
150
                        }
 
151
                }
143
152
        }
144
153
}