Example #1
0
        public void Initialize(IDisassemblyManager manager, BaseStyleProvider styleProvider)
        {
            _manager       = manager;
            _styleProvider = styleProvider;

            ctrlCode.StyleProvider       = _styleProvider;
            ctrlCode.ShowContentNotes    = false;
            ctrlCode.ShowMemoryValues    = true;
            ctrlCode.ExtendedMarginWidth = manager.ByteCodeSize * 4;
            ctrlCode.AddressSize         = manager.AddressSize;

            _manager.RefreshCode();
        }
Example #2
0
        public void Initialize(IDisassemblyManager manager, BaseStyleProvider styleProvider)
        {
            _manager        = manager;
            _styleProvider  = styleProvider;
            _symbolProvider = DebugWorkspaceManager.GetSymbolProvider();

            ctrlCode.StyleProvider       = _styleProvider;
            ctrlCode.ShowContentNotes    = false;
            ctrlCode.ShowMemoryValues    = true;
            ctrlCode.ExtendedMarginWidth = manager.ByteCodeSize * 4;
            ctrlCode.AddressSize         = manager.AddressSize;

            UpdateSourceFileDropdown();
            _manager.RefreshCode(_inSourceView ? _symbolProvider : null, _inSourceView ? cboSourceFile.SelectedItem as SourceFileInfo : null);
        }