# \[Plugin Release\] HitLens | Live C++ hit counts in Rider & Visual Studio while you play

**URL:** <https://forums.unrealengine.com/t/plugin-release-hitlens-live-c-hit-counts-in-rider-visual-studio-while-you-play/2858638>\
**Category:** Distribution\
**Tags:** Debugging, rider, multiplayer-testing, plugin, Multiplayer, marketplace, Visual-Studio, CPP, fab\
**Created:** [November 18, 2026, 4:28pm UTC](https://forums.unrealengine.com/t/plugin-release-hitlens-live-c-hit-counts-in-rider-visual-studio-while-you-play/2858638 "2026-11-18T16:28:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eiTeyTrainers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eiTeyTrainers](https://forums.unrealengine.com/u/eiTeyTrainers)\
**Post date:** [November 18, 2026, 4:28pm UTC](https://forums.unrealengine.com/t/plugin-release-hitlens-live-c-hit-counts-in-rider-visual-studio-while-you-play/2858638/1 "2026-11-18T16:28:36Z")

</div>

**HitLens** shows which C++ functions and lines run while your game plays, and how often, right inside **JetBrains Rider** or **Visual Studio**.

[[YouTube link]](https://youtu.be/WKSJ4gRczGU)

Press Play and every line that runs gets a live count like `60/s · 18,240 hits`:

- 🟢 **Green** : runs now and then
- 🟡 **Yellow** : 2+ times a second
- 🔴 **Red** : 30+ times a second (about every frame)

One glance answers what you’d normally need breakpoints or log spam for:

- Does my key press even reach this function?
- Is this running every frame?
- Which branch of this if/else actually runs?
- Is this running on the server, or on a client?

### Multiplayer

Each line shows who ran it: `Server: 60 · Client 1: 60 · Client 2: 60`. Works in Play In Editor and Standalone Game, with a listen or dedicated server.

### No setup

- No macros, no code changes, no rebuild. Works with Live Coding.
- Only the file you’re looking at is tracked, so your game stays fast.
- Local only (127.0.0.1), no internet, no telemetry.
- Compiles out of Shipping builds.

### Get started

1. Enable HitLens in **Edit \> Plugins** and restart the editor.
2. Install the free IDE extension:
  - Rider: [https://plugins.jetbrains.com/plugin/35406-hitlens](https://plugins.jetbrains.com/plugin/35406-hitlens)
  - Visual Studio: Extensions \> Manage Extensions, search “HitLens”

3. Open a C++ file of your project and press **Play**.

### Good to know

- Tracks your project’s C++ code (including project plugins), not engine source.
- Inlined functions can’t be seen. Put `HIT();` at the top of a function to always count it.
- A few very short lines (like a bare `return;`) can’t be tracked safely and stay plain.

### Requirements

Windows · Unreal Engine 5+ · Rider or Visual Studio 2022 / 2026

**Get it on Fab:** [HitLens - Live Code Hit Counts in Rider | Fab](https://www.fab.com/listings/7d127d0b-3857-4087-a771-11f3c202638e)

I’ll use this thread for support and updates, so ask anything here. Bugs or questions: [your email]
