You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor logger, reporter and channel into a unified EventStream using Rx Observable (#2084)
* Changes to refactor logging in server
* Adding packages
* Changes
* Remove reporter from CSharpExtDownloader
* remove telemtery reporter from server.ts
* remove reporter from definitionProvider
* Remove reporter from dotnetTest.ts
* Debugger Activation + Commands
* reduce message types
* remove reporter from commands.ts
* remove channel from status.ts
* Remove reporter & logger from extension.ts
* Build issues
* Add missing rx dependency
* Changed to download progress
* Removed using and pass platformInfo
* Moved files in observer folder
* Renamed the files and added omnisharp channel observer
* Remove unnecessary format
* Changes in main.ts
* Remove channel from global declaration
* Preserving the context in onNext invocations
* Pulled platformInfo out of server
* Remove unnecessary variable
* Formatting
* Renamed observers
* Add mocha+wallaby tests
eventually the feature tests should be removed and most of our tests should become unit tests that are runnable from the command line or via wallaby.
npm run tdd will enable using mocha's command line tdd capability
* Code clean up
* Fix `tdd` command
* Fix test paths
* Add initial DotnetChannelObserver test
* Testing the download messages
* Remove logger from requestQueue.ts
* Fix builds
* Use package manager factory
* Remove Lines
* Remove extra appendLine
* Added test for csharp logger and channel
* Extracted base class for observers
* Test having dependency on vscode
* vscode adapter changes
* Changes for adapter
* Refactored Omnisharp Manager
* Moved from interfaces to classes
* Renamed onNext to post
* Created class EventStream
* Removed comment
* Added missing break
* Added test for Omnisharp Logger
* Test for OmnisharpLoggerObserver
* Test for telemetry reporter observer
* Added test for all the observers
* minor nits
* Changes
* Remove unnecessary imports
* remove import
* Modified failing test
* Make tests pass
* Renamed platformInfo
* CR feedback
logger.appendLine(`[WARNING]: x86 Windows is not currently supported by the .NET Core debugger. Debugging will not be available.`);
39
+
eventStream.post(newDebuggerPrerequisiteWarning(`[WARNING]: x86 Windows is not currently supported by the .NET Core debugger. Debugging will not be available.`));
55
40
}else{
56
-
logger.appendLine(`[WARNING]: Processor architecture '${platformInformation.architecture}' is not currently supported by the .NET Core debugger. Debugging will not be available.`);
41
+
eventStream.post(newDebuggerPrerequisiteWarning(`[WARNING]: Processor architecture '${platformInformation.architecture}' is not currently supported by the .NET Core debugger. Debugging will not be available.`));
57
42
}
58
43
returntrue;
59
44
}
@@ -62,14 +47,14 @@ async function checkForInvalidArchitecture(logger: Logger): Promise<boolean> {
0 commit comments