Skip to content

Commit

Permalink
Enable Amalgamator
Browse files Browse the repository at this point in the history
  • Loading branch information
WyoTwT committed Aug 23, 2024
1 parent c406f34 commit b5d212b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/entry-points/desktop/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@

import * as vscode from 'vscode';
import { AdapterRegistry } from '../../plugin/adapter-registry/adapter-registry';
import { AmalgamatorGdbVariableTransformer, AmalgamatorSessionManager } from '../../plugin/adapter-registry/amalgamator-gdb-tracker';
import { CAdapter } from '../../plugin/adapter-registry/c-adapter';
import { ContextTracker } from '../../plugin/context-tracker';
import { outputChannelLogger } from '../../plugin/logger';
import { MemoryProvider } from '../../plugin/memory-provider';
import { MemoryStorage } from '../../plugin/memory-storage';
import { MemoryWebview } from '../../plugin/memory-webview-main';
Expand All @@ -32,6 +34,9 @@ export const activate = async (context: vscode.ExtensionContext): Promise<Adapte
const memoryStorage = new MemoryStorage(memoryProvider);
const cAdapter = new CAdapter(registry);

const debugTypes = ['amalgamator'];
registry.registerAdapter(new AmalgamatorSessionManager(AmalgamatorGdbVariableTransformer, outputChannelLogger, ...debugTypes), ...debugTypes);

registry.activate(context);
sessionTracker.activate(context);
memoryProvider.activate(context);
Expand Down

0 comments on commit b5d212b

Please sign in to comment.