~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
                        int line = frame.SourceLocation.Line;
80
80
                        
81
81
                        if (!file.IsNullOrEmpty && System.IO.File.Exists (file) && line != -1) {
82
 
                                OpenDocumentOptions ops = OpenDocumentOptions.Debugger;
83
 
                                
84
 
                                if (disassemblyCurrent)
85
 
                                        ops &= ~OpenDocumentOptions.BringToFront;
86
 
                                
87
 
                                Document doc = IdeApp.Workbench.OpenDocument (file, line, 1, ops);
 
82
                                Document doc = IdeApp.Workbench.OpenDocument (file, line, 1, OpenDocumentOptions.Debugger);
88
83
                                if (doc != null)
89
84
                                        return;
90
85
                        }
 
86
 
 
87
                        // If we don't have an address space, we can't disassemble
 
88
                        if (string.IsNullOrEmpty (frame.AddressSpace))
 
89
                                return;
 
90
 
91
91
                        if (!DebuggingService.CurrentSessionSupportsFeature (DebuggerFeatures.Disassembly))
92
92
                                return;
 
93
 
93
94
                        if (disassemblyDoc == null)
94
95
                                OnShowDisassembly (null, null);
95
96
                        else