PyCharm, IntelliJ & WebStorm
To utilize CtrlB from your IDE, you must first install the CtrlB IDE plugin
- Navigate to Settings (Mac OS/ Windows/Linux) within your JetBrains IDE.
- Proceed to the Plugins section and select the MarketPlace tab. Search for CtrlB and click Install followed by the OK button
- CtrlB will be accessible from the left-hand Tool Window Bar where you can log in/sign up for the plugin
Once you have opened the CtrlB Tool Window, a webview will open. If it's your first time using the extension, please click signup and create your login credentials.
Upon logging in, you'll see three separate panes. These help you manage your applications running with the Heimdall agent.
The Applications Pane is the initial pane displayed post-login. It shows all your applications that are running with the Heimdall agent. To select an application for further action, such as adding a trace point, simply click on the checkbox corresponding to the application
In the Probes Pane, you'll see a list of active tracepoints and logpoints. From here you can review and manage your active probes.
The Snapshot Hits Pane shows the snapshots captured by your tracepoints. Here, you can examine the trace point snapshots, and view stack-trace and captured variables.
Snapshot Hits pane
- Select the application you want to inspect in
- In the IDE editor, right click on the line where you want to add a probe an Editor popup menu will appear, select
CtrlB -> Add TracePointor
CtrlB -> Add LogPoint.
- A form opens up as Dialog Box in the IDE. There are some configuration options available as described below. Finally click
Add Tracepoint Form
All the config options of tracepoint are allowed in logpoint. Additionally you have the following:
Click on the
Snapshot Hitspane at the top. Here you would see all the tracepoint snapshots captured. You here have ability to clear the snapshots, filter them based on time and filename. Click on any captured snapshot and you will see the variables and call stack here.
stdoutenabled while setting the logpoint, you can see the dynamic logs right inside terminal/logs of your application.