Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 664 Bytes

File metadata and controls

18 lines (10 loc) · 664 Bytes

Overview

This sample application is a regular .net console application calculating th Fibonacci number of i, sleeping for 1 second, increment i and loop.

It will also use logging and allow virtual debugging at different points of the algorithm

Where to start.

Customized services are registered into the SingleSessionProvider.cs:

    return new ChromeProtocolSession(webSocket, new MyRuntimeHandler(mainScript), new DebuggerHandler(mainScript, fibonacci), new ProfilerHandler(), new MyHeapProfilerHandler());

Notice the usage of MyRuntimeHandler, MyHeapProfilerHandler and set of scripts provided to DebuggerHandler