Bug 4137 - Breakpoint store breaks editing unsaved files
Summary: Breakpoint store breaks editing unsaved files
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-03-28 17:30 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-03-30 08:52 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2012-03-28 17:30:52 UTC
When editing files that aren't attached to a project, and have never been saved, the debugger breaks the text editor.

System.ArgumentException: UNC paths should be of the form \\server\share.
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x0021c] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.IO/Path.cs:379 
  at System.IO.Path.GetFullPath (System.String path) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.IO/Path.cs:277 
  at Mono.Debugging.Client.BreakpointStore.GetBreakpointsAtFile (System.String filename) [0x00000] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Client/BreakpointStore.cs:175 
  at MonoDevelop.SourceEditor.SourceEditorView.UpdateBreakpoints (Boolean forceUpdate) [0x00013] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:955 
  at MonoDevelop.SourceEditor.SourceEditorView.<SourceEditorView>m__32 (System.Object sender, Mono.TextEditor.LineEventArgs e) [0x00014] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:153 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_LineEventArgs (object,Mono.TextEditor.LineEventArgs)
  at Mono.TextEditor.Document.SplitterLineSegmentTreeLineChanged (System.Object sender, Mono.TextEditor.LineEventArgs e) [0x0000b] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Document.cs:130 
  at Mono.TextEditor.LineSplitter.OnLineChanged (Mono.TextEditor.LineEventArgs e) [0x0000d] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/LineSplitter.cs:393 
  at Mono.TextEditor.LineSplitter.ChangeLength (Mono.TextEditor.TreeNode line, Int32 newLength, Int32 delimiterLength) [0x0000e] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/LineSplitter.cs:385 
  at Mono.TextEditor.LineSplitter.ChangeLength (Mono.TextEditor.TreeNode line, Int32 newLength) [0x00000] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/LineSplitter.cs:378 
  at Mono.TextEditor.LineSplitter.TextInsert (Int32 offset, System.String text) [0x000b2] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/LineSplitter.cs:201 
  at Mono.TextEditor.LineSplitter.TextReplaced (System.Object sender, Mono.TextEditor.ReplaceEventArgs args) [0x0002e] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/LineSplitter.cs:98 
  at Mono.TextEditor.Document.Mono.TextEditor.IBuffer.Replace (Int32 offset, Int32 count, System.String value) [0x000f0] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Document.cs:228 
  at Mono.TextEditor.TextEditorData.Replace (Int32 offset, Int32 count, System.String value) [0x00009] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditorData.cs:271 
  at Mono.TextEditor.TextEditorData.Insert (Int32 offset, System.String value) [0x00000] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditorData.cs:211 
  at Mono.TextEditor.EditMode.InsertCharacter (UInt32 unicodeKey) [0x00327] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/EditMode.cs:139 
  at Mono.TextEditor.SimpleEditMode.HandleKeypress (Key key, UInt32 unicodeKey, ModifierType modifier) [0x0003c] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/SimpleEditMode.cs:405 
  at Mono.TextEditor.EditMode.InternalHandleKeypress (Mono.TextEditor.TextEditor editor, Mono.TextEditor.TextEditorData data, Key key, UInt32 unicodeChar, ModifierType modifier) [0x0000e] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/EditMode.cs:48 
  at Mono.TextEditor.TextEditor.SimulateKeyPress (Key key, UInt32 unicodeChar, ModifierType modifier) [0x00008] in /Users/michael/Mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs:839 
  at MonoDevelop.SourceEditor.SourceEditorWidget.MonoDevelop.Ide.Gui.Content.ITextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00000] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorWidget.cs:126 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:115 
  at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x0005a] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/CompletionTextEditorExtension.cs:94 
  at CBinding.CTextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x0025c] in /Users/michael/Mono/monodevelop/main/src/addins/CBinding/Gui/CTextEditorExtension.cs:221 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:115 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:115 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:115 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:115 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:115 
  at MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress (Key key, UInt32 ch, ModifierType state) [0x00000] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs:230
Comment 1 Jeffrey Stedfast 2012-03-30 08:52:39 UTC
fixed in git master