send2vinnie / slimtune

Automatically exported from code.google.com/p/slimtune
MIT License
0 stars 0 forks source link

Crash when visualizing 0.1.5 data using 0.2.0's Function Details visualizer #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- Open a profile database created with SlimTune 0.1.5 (MSSQL db)
- Select "Function Details" visualizer

What is the expected output? What do you see instead?
- Instead of showing the function details visualizer, I get an 
ArgumentOutOfRangeException:

System.ArgumentOutOfRangeException: StartIndex ne peut pas être inférieur à 
zéro.
Nom du paramètre : startIndex
   à System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 
length, Boolean fAlwaysCopy)
   à SlimTuneUI.SqlServerCompactEngine.Query(String query, Int32 limit) 
dans 
D:\Promit\Documents\Projects\SlimTune\trunk\SlimTuneUI\SqlServerCompactEngi
ne.cs:ligne 234
   à SlimTuneUI.CoreVis.FunctionDetails.UpdateFunctionList() dans 
D:\Promit\Documents\Projects\SlimTune\trunk\CoreVis\FunctionDetails.cs:lign
e 86
   à SlimTuneUI.CoreVis.FunctionDetails.Initialize(ProfilerWindowBase 
mainWindow, Connection connection) dans 
D:\Promit\Documents\Projects\SlimTune\trunk\CoreVis\FunctionDetails.cs:lign
e 73
   à SlimTuneUI.ProfilerWindow.m_openVisualizerButton_Click(Object sender, 
EventArgs e) dans 
D:\Promit\Documents\Projects\SlimTune\trunk\SlimTuneUI\ProfilerWindow.cs:li
gne 123
   à System.Windows.Forms.Control.OnClick(EventArgs e)
   à System.Windows.Forms.Button.OnClick(EventArgs e)
   à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons 
button, Int32 clicks)
   à System.Windows.Forms.Control.WndProc(Message& m)
   à System.Windows.Forms.ButtonBase.WndProc(Message& m)
   à System.Windows.Forms.Button.WndProc(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, 
IntPtr wparam, IntPtr lparam)

In english: StartIndex cannot be < 0

Original issue reported on code.google.com by tristanl...@gmail.com on 17 Feb 2010 at 2:35

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r165.

Original comment by promit....@gmail.com on 17 Feb 2010 at 5:37