bombomby / optick

C++ Profiler For Games

Home Page:https://optick.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not open a report made with OPTICK_APP

Lectem opened this issue · comments

I used the samples to generate a report using the TestOptickApp function, but opening it in the client will show no results as if empty.

I also changed the number of frames in the loop, the report is getting bigger but still empty once opened in the client.

I uploaded the report here.

Both the core and GUI are built on my PC using Visual 2019 and using the latest master commit ed35643

Note that when opening the file, the only debug output is

Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll

which probably is the normal flow.

I did however get errors at startup:

System.Windows.Data Error: 1 : Cannot create default converter to perform 'two-way' conversions between types 'System.Windows.Media.SolidColorBrush' and 'System.Windows.Media.Brush'. Consider using Converter property of Binding. BindingExpression:Path=Stroke; DataItem='AxisGrid' (Name=''); target element is 'Path' (Name=''); target property is 'Stroke' (type 'Brush')
System.Windows.Data Error: 40 : BindingExpression path error: 'DeatiledDescription' property not found on 'object' ''FrameInfo' (Name='UserControl')'. BindingExpression:Path=DeatiledDescription; DataItem='FrameInfo' (Name='UserControl'); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'Root' property not found on 'object' ''FrameInfo' (Name='UserControl')'. BindingExpression:Path=Root; DataItem='FrameInfo' (Name='UserControl'); target element is 'TreeView' (Name='EventTreeView'); target property is 'DataContext' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'Board' property not found on 'object' ''FrameInfo' (Name='UserControl')'. BindingExpression:Path=Board; DataItem='FrameInfo' (Name='UserControl'); target element is 'FrameDataTable' (Name='SummaryTable'); target property is 'DataContext' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'DeatiledDescription' property not found on 'object' ''SampleInfo' (Name='UserControl')'. BindingExpression:Path=DeatiledDescription; DataItem='SampleInfo' (Name='UserControl'); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'Root' property not found on 'object' ''SampleInfo' (Name='UserControl')'. BindingExpression:Path=Root; DataItem='SampleInfo' (Name='UserControl'); target element is 'TreeView' (Name='EventTreeView'); target property is 'DataContext' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'Board' property not found on 'object' ''SampleInfo' (Name='UserControl')'. BindingExpression:Path=Board; DataItem='SampleInfo' (Name='UserControl'); target element is 'FrameDataTable' (Name='SummaryTable'); target property is 'DataContext' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'DeatiledDescription' property not found on 'object' ''SampleInfo' (Name='UserControl')'. BindingExpression:Path=DeatiledDescription; DataItem='SampleInfo' (Name='UserControl'); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'Root' property not found on 'object' ''SampleInfo' (Name='UserControl')'. BindingExpression:Path=Root; DataItem='SampleInfo' (Name='UserControl'); target element is 'TreeView' (Name='EventTreeView'); target property is 'DataContext' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'Board' property not found on 'object' ''SampleInfo' (Name='UserControl')'. BindingExpression:Path=Board; DataItem='SampleInfo' (Name='UserControl'); target element is 'FrameDataTable' (Name='SummaryTable'); target property is 'DataContext' (type 'Object')
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'Xceed.Wpf.AvalonDock.resources'. Module was built without symbols.
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationCore.resources\v4.0_4.0.0.0_fr_31bf3856ad364e35\PresentationCore.resources.dll'. Module was built without symbols.
System.Windows.Data Error: 40 : BindingExpression path error: 'ShowDebugCommand' property not found on 'object' ''MainView' (Name='')'. BindingExpression:Path=ShowDebugCommand; DataItem='MainView' (Name=''); target element is 'KeyBinding' (HashCode=50388336); target property is 'Command' (type 'ICommand')
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll'. Symbol loading disabled by Include/Exclude setting.
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationProvider\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationProvider.dll'. Symbol loading disabled by Include/Exclude setting.
System.Windows.Data Error: 40 : BindingExpression path error: 'TotalMemory' property not found on 'object' ''MainViewModel' (HashCode=50841847)'. BindingExpression:Path=TotalMemory; DataItem='MainViewModel' (HashCode=50841847); target element is 'Label' (Name=''); target property is 'Content' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'Stats' property not found on 'object' ''MainViewModel' (HashCode=50841847)'. BindingExpression:Path=Stats; DataItem='MainViewModel' (HashCode=50841847); target element is 'DataGrid' (Name=''); target property is 'ItemsSource' (type 'IEnumerable')
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\commonextensions\microsoft\xamldiagnostics\Framework\x86\Microsoft.VisualStudio.DesignTools.WpfTap.dll'. Symbol loading disabled by Include/Exclude setting.
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'. Symbol loading disabled by Include/Exclude setting.
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll'. Symbol loading disabled by Include/Exclude setting.
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll'. Symbol loading disabled by Include/Exclude setting.
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization.resources\v4.0_4.0.0.0_fr_b77a5c561934e089\System.Runtime.Serialization.resources.dll'. Module was built without symbols.
'Optick.exe' (CLR v4.0.30319: Optick.exe): Loaded 'Newtonsoft.Json'. Symbol loading disabled by Include/Exclude setting.
Exception thrown: 'System.Net.WebException' in System.dll
Exception thrown: 'System.Net.WebException' in System.dll
Exception thrown: 'System.Net.WebException' in System.dll
Exception thrown: 'System.Net.WebException' in System.dll
Exception thrown: 'System.Net.WebException' in System.dll
System.Windows.Data Error: 1 : Cannot create default converter to perform 'two-way' conversions between types 'System.Windows.Media.SolidColorBrush' and 'System.Windows.Media.Brush'. Consider using Converter property of Binding. BindingExpression:Path=Foreground; DataItem='Axis' (Name=''); target element is 'Path' (Name=''); target property is 'Stroke' (type 'Brush')
System.Windows.Data Error: 1 : Cannot create default converter to perform 'two-way' conversions between types 'System.Windows.Media.SolidColorBrush' and 'System.Windows.Media.Brush'. Consider using Converter property of Binding. BindingExpression:Path=Foreground; DataItem='Axis' (Name=''); target element is 'Path' (Name=''); target property is 'Stroke' (type 'Brush')
System.Windows.Data Error: 1 : Cannot create default converter to perform 'two-way' conversions between types 'System.Windows.Media.Brush' and 'System.Windows.Media.SolidColorBrush'. Consider using Converter property of Binding. BindingExpression:Path=Foreground; DataItem='PlotAxis' (Name='PART_verticalAxis'); target element is 'Axis' (Name=''); target property is 'Foreground' (type 'SolidColorBrush')
The thread 0x5084 has exited with code 0 (0x0).

but those don't seem to affect normal sessions recordings.
I am also able to save and load a session recording through the GUI.

Thanks for reporting the issue. I accidentally broke it in the previous version.
Should be fixed now. Sorry for the inconvenience.

Just confirmed it now works fine, thanks!