~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-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, 1840cc1
  • Date: 2012-02-05 10:49:36 UTC
  • mfrom: (10.2.12)
  • Revision ID: package-import@ubuntu.com-20120205104936-f3dutq6lnseokb6d
Tags: 2.8.6.3+dfsg-1
[1840cc1] Imported Upstream version 2.8.6.3+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 = !disassemblyCurrent ? OpenDocumentOptions.BringToFront : OpenDocumentOptions.None;
 
82
                                OpenDocumentOptions ops = OpenDocumentOptions.Debugger;
 
83
                                
 
84
                                if (disassemblyCurrent)
 
85
                                        ops &= ~OpenDocumentOptions.BringToFront;
 
86
                                
83
87
                                Document doc = IdeApp.Workbench.OpenDocument (file, line, 1, ops);
84
88
                                if (doc != null)
85
89
                                        return;