# ConnectCtx

> This sample connects to the database opened by createdb_sniffer then throws an exception to simulate a crash. (It is used together with the sniffer sample.)

### How to Run

> In a console window run

>         target\bin\createdb_sniffer

> Then in a second console window run

>         ConnectCtx

> But it is more instructive to run one instance in your development environment debugger, stepping through the code.