marrtin

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • marrtin
    Participant

    Hopefully I found the solution.

    I changed in Windows color Management ->Advanced->Device profile to System default (sRGB IEC61966-2.1)

    and after restarting of visual studio it started to work. I assume that some windows update has changed my profile to sRGB vitual device model profile which caused this issue.

    marrtin
    Participant

    Hi thanks

    Let me answer the questions

    • happens always, you are not allowed to create new Linux project and the open the main VisualGdb window for existing project
    • no specific action trigger
    • yes the plugin works, you are also to able to open some plugin windows like Quick debug, but the main GUI is corrupted
    • no change after updating VisualGDB and Visual studio
    • to be more accurate, the error occurs also for some other windows (for example shared folder manager) but only when the window is opened for the first time
    • exception details
    VisualGDB version: 5.6.109.4871
    ------------------ System.Windows.Markup.XamlParseException ------------------
    System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    at System.Collections.Generic.List`1.get_Item(Int32 index)
    at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
    at System.Windows.Media.Imaging.BitmapDecoder.Initialize(BitmapDecoder decoder)
    at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
    at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
    at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
    at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
    --- End of inner exception stack trace ---
    at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
    at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)
    at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter)
    at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List1 affectedChildren, UncommonField1 templatedNonFeChildrenField)
    at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)
    at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
    at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
    at System.Windows.FrameworkElement.ApplyTemplate()
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Border.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Control.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint)
    at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
    at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
    at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
    at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
    at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Border.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Control.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
    at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
    at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint)
    at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
    at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
    at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
    at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Control.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint)
    at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
    at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Border.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Control.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
    at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
    at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
    at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
    at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Control.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
    at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
    at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
    at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
    at System.Windows.UIElement.Measure(Size availableSize)
    at System.Windows.ContextLayoutManager.UpdateLayout()
    at System.Windows.Interop.HwndSource.SetLayoutSize()
    at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
    at System.Windows.Window.SetRootVisual()
    at System.Windows.Window.SetRootVisualAndUpdateSTC()
    at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
    at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
    at System.Windows.Window.ShowHelper(Object booleanBox)
    at System.Windows.Window.ShowDialog()
    at c8.r.a(Window a)
    at c8.g2(Window a)
    at qm2.GDBProjectProperties.ExecuteForProject(qm2 addIn, Object objPrj, Type pageTypeToSelect)
    trace=[System.Windows.Markup.XamlReader.RewrapException:0, System.Windows.FrameworkTemplate.LoadTemplateXaml:588, System.Windows.FrameworkTemplate.LoadTemplateXaml:65, System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent:276, System.Windows.FrameworkTemplate.LoadContent:26, System.Windows.StyleHelper.ApplyTemplateContent:289, System.Windows.FrameworkTemplate.ApplyTemplateContent:31, System.Windows.FrameworkElement.ApplyTemplate:0, System.Windows.FrameworkElement.MeasureCore:42, System.Windows.UIElement.Measure:409, System.Windows.Controls.Border.MeasureOverride:264, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Control.MeasureOverride:34, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.StackPanel.StackMeasureHelper:268, System.Windows.Controls.StackPanel.MeasureOverride:50, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, MS.Internal.Helper.MeasureElementWithSingleChild:35, System.Windows.Controls.ItemsPresenter.MeasureOverride:0, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, MS.Internal.Helper.MeasureElementWithSingleChild:35, System.Windows.Controls.ScrollContentPresenter.MeasureOverride:81, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Grid.MeasureCell:241, System.Windows.Controls.Grid.MeasureCellsGroup:62, System.Windows.Controls.Grid.MeasureOverride:550, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.ScrollViewer.MeasureOverride:263, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Border.MeasureOverride:264, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Control.MeasureOverride:34, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Grid.MeasureCell:241, System.Windows.Controls.Grid.MeasureCellsGroup:62, System.Windows.Controls.Grid.MeasureOverride:550, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.StackPanel.StackMeasureHelper:268, System.Windows.Controls.StackPanel.MeasureOverride:50, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, MS.Internal.Helper.MeasureElementWithSingleChild:35, System.Windows.Controls.ContentPresenter.MeasureOverride:0, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Grid.MeasureCell:241, System.Windows.Controls.Grid.MeasureCellsGroup:62, System.Windows.Controls.Grid.MeasureOverride:550, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Control.MeasureOverride:34, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.StackPanel.StackMeasureHelper:268, System.Windows.Controls.StackPanel.MeasureOverride:50, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, MS.Internal.Helper.MeasureElementWithSingleChild:35, System.Windows.Controls.ContentPresenter.MeasureOverride:0, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Border.MeasureOverride:264, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Control.MeasureOverride:34, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, MS.Internal.Helper.MeasureElementWithSingleChild:35, System.Windows.Controls.ScrollContentPresenter.MeasureOverride:151, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Grid.MeasureCell:241, System.Windows.Controls.Grid.MeasureCellsGroup:62, System.Windows.Controls.Grid.MeasureOverride:777, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.ScrollViewer.MeasureOverride:263, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, MS.Internal.Helper.MeasureElementWithSingleChild:35, System.Windows.Controls.ContentPresenter.MeasureOverride:0, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Control.MeasureOverride:34, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.Controls.Grid.MeasureCell:241, System.Windows.Controls.Grid.MeasureCellsGroup:62, System.Windows.Controls.Grid.MeasureOverride:777, System.Windows.FrameworkElement.MeasureCore:568, System.Windows.UIElement.Measure:409, System.Windows.ContextLayoutManager.UpdateLayout:463, System.Windows.Interop.HwndSource.SetLayoutSize:731, System.Windows.Interop.HwndSource.set_RootVisualInternal:258, System.Windows.Window.SetRootVisual:26, System.Windows.Window.SetRootVisualAndUpdateSTC:6, System.Windows.Window.SetupInitialState:805, System.Windows.Window.CreateSourceWindow:363, System.Windows.Window.ShowHelper:59, System.Windows.Window.ShowDialog:492, c8+r.a:143, c8.g2:124, qm2+GDBProjectProperties.ExecuteForProject:75]
    ------------------ Inner exception ------------------
    ------------------ System.ArgumentOutOfRangeException ------------------
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    at System.Collections.Generic.List`1.get_Item(Int32 index)
    at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
    at System.Windows.Media.Imaging.BitmapDecoder.Initialize(BitmapDecoder decoder)
    at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
    at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
    at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
    at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
    trace=[System.ThrowHelper.ThrowArgumentOutOfRangeException:46, System.Collections.Generic.List`1.get_Item:0, System.Windows.Media.Imaging.BitmapDecoder.SetupFrames:135, System.Windows.Media.Imaging.BitmapDecoder.Initialize:18, System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream:531, System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream:9, System.Windows.Media.ImageSourceConverter.ConvertFrom:303, MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue:8]

     

    marrtin
    Participant

    Still doesn’t work. It’s bad. Is there any possibility how to retrieve more details what’s going on? To reinstall the whole system is solution which I would like to avoid 🙁

    marrtin
    Participant

    Thanks I will try it. My OS looks quite stable. I have no idea what happened. The computer is installed for 2+ years and only automatic updates can really damage something, because in our company we actually don’t have admin privilege due to security reasons to install software ourselfes.

    • This reply was modified 11 months ago by marrtin.
    in reply to: Unable to live profiling #30684
    marrtin
    Participant

    Hi hopefully I have investigated the issue correct.

    The command: ls -1A | xargs -d “\n” stat -c “StatEntryL:|%N|%Y|%d|%s|%f” gives following result in /tmp/xxxxxx-a7e2-4b00-b34c-xxxxx folder

    StatEntryL:|‘callgrind.out’|1623402505|64771|0|11a4
    StatEntryL:|‘callgrind.out.1’|1623402525|64771|489797|8180
    StatEntryL:|‘valgrind.log’|1623402506|64771|0|11a4

    But in reality only callgrind.out.1 and valgrind.log exist (callgrind.out is missing in filesystem)

    callgrind.out.1 – has 478kb size in my small testcase and can be candidate for core file.

    Thanks for next advision

    marrtin
    Participant

    Hi

    In my new version 5.2 the debugging of std::map works better – (thanks for it, it really helps), but it is still not so good in comparison with windows development. Do you plan some improvements in the future? When there is map of maps or such more complex  structures. In such cases would be debugging very useful.

    in reply to: CppEngineHost is hanging up frequently #8190
    marrtin
    Participant

    Hi

    I think that the problem is not the same. CppEngineHost runs in separate process. I don t know how big are your projects, but in my project there are far more system headers to parse and also additional libraries (STL, boost, etc…). But you are right, native intellisense need some times rebuild. Deleting its database file is safe and sure way. Neverthless I am not be able to persuade clang inntellisense to work properly. After some browsing and switching files simple crashes. And then crashes and restarts again.

    Please help.

    marrtin
    Participant

    Hi

    Of course natvis approach cannot be used as universal solution. In large projects there are a lot of typedefs (also in my case). I also hope that next release will fix it problem. Sometimes I have to switched sometimes to eclipse or Qt creator for debugging purposes. It’s waste of time, because Visual studio with VisualGDB is very powerful tool.

    in reply to: CppEngineHost is hanging up frequently #8174
    marrtin
    Participant

    Thanks.

    I have the same problem you have already sent me some debug  version of CppEngineCore.dll but the intellisense engine didn’t work then at all.

    This link is no more accessible. Can you send me please current debug version of CppEngineCore.dll. I really want to use clang intellisense, but I can’t. The engine with default installation of VisualGDB (5.1) still crashes in my project.

    Thanks.

    marrtin
    Participant

    Hi.

    Maybe the problem could be cause when these objects (HandleValueT) are coming as input parameters from external library via dbus and then could be not parsed correct.

    But thats only my hint (maybe totally bad). I don’t know how the visualisers work internally.

    marrtin
    Participant

    More complicated typedef still didn’t work

    typedef int int32_t;
    typedef std::map< int32_t, std::string > HandleValueT;
    
    
    .natvis
    
    
    
    <Type Name="int">
    	<AlternativeType Name="int32_t"/>
    </Type>
    <Type Name="std::map&lt;int, std::string&gt;">
    	<AlternativeType Name="HandleValueT"/>
    </Type>
    
    
    
    		
    	
    marrtin
    Participant

    Thanks, works for me in VS 2015. Is there any chance that  in the future will be possible to use this feature without using .natvis file?

    marrtin
    Participant

    Thank you, your very good product will be even better.

    marrtin
    Participant

    Hi

    This works for me in Vs2015 not in 2013 – in 2015 I can there also add natvis file from wizard

    But I am not be able to do similar thing for  std::map. Following doesn’ t work

     

    typedef std::map<std::string, std::string> MapS;
    
    <Type Name="std::map&lt;std::string, std::string&gt;">
    	<AlternativeType Name="MapS"/>
    </Type>
    
    
    marrtin
    Participant

    Hi

    I tried it, but I was not successfull. I am using Visual 2013 Professional. I installed VisualGDB 5.1 Preview 2.

    I created the .natvis file exactly like descriped in your example (example IntVector) and added the .natvis file to the project with add existing item functionality.

    It’s interesting that VS 2013 has no possibility to add new .natvis file by wizard. There is no item under Add / New item / Visual C++ / Utility / Debugger visualization file (.natvis)

    Can you explain me please how to access this functionality. I am confused with it, because it’s very usefull feature and probable is possible to use it, but I don’t know how to configure it.

    Thanks

     

Viewing 15 posts - 1 through 15 (of 21 total)