Troubleshooting
Connection Issues
Section titled “Connection Issues””Python 3 not found”
Section titled “”Python 3 not found””LogScope requires Python 3 for device discovery and UART communication.
Fix: Install Python 3 from python.org and reload VS Code.
”No J-Link devices found”
Section titled “”No J-Link devices found””- Verify your board is connected via USB
- Check that the J-Link driver is installed (comes with J-Link Software Pack)
- On macOS: check System Preferences > Security for any blocked kernel extensions
- Try
nrfutil device listin a terminal to verify the device is visible
”No RTT control block found”
Section titled “”No RTT control block found””The J-Link connected to the target, but RTT is not enabled in the firmware.
Fix:
- Verify your firmware has
CONFIG_USE_SEGGER_RTT=yandCONFIG_LOG_BACKEND_RTT=yinprj.conf - Try resetting the device (LogScope offers a “Reset Device” action in the error card)
- If your RTT control block is at a non-standard address, adjust
logscope.jlink.rttSearchRangesin settings
”Serial device disconnected”
Section titled “”Serial device disconnected””The USB serial device was unplugged or the port became unavailable.
Fix: Reconnect the USB cable and click Reconnect in LogScope.
Connection keeps failing with retries
Section titled “Connection keeps failing with retries”- Check if another application (PuTTY, minicom, another VS Code instance) has the device/port open
- For RTT: check if a J-Link GDB server is running and occupying the probe
- Try disconnecting and reconnecting the USB cable
Display Issues
Section titled “Display Issues”Logs appear but aren’t parsed (everything shows as raw text)
Section titled “Logs appear but aren’t parsed (everything shows as raw text)”You may be using the wrong parser mode. Check your firmware’s log format:
- Zephyr format:
[00:00:01.234,567] <inf> module: message- Use the Zephyr parser - nRF5 SDK format:
<info> module: message- Use the nRF5 SDK parser - Other/custom format: Use the Raw parser
Change the parser via LogScope: Select Parser or in the sidebar settings.
No HCI packets appearing
Section titled “No HCI packets appearing”HCI packet tracing requires:
- J-Link RTT transport (not UART)
- Zephyr firmware with
CONFIG_BT_DEBUG_MONITOR_RTT=yinprj.conf - HCI toggle enabled in the filter bar (the purple “HCI” button)
Timestamps show “0:00:00.000”
Section titled “Timestamps show “0:00:00.000””The device timestamp column shows the firmware’s internal uptime counter. If it’s always zero:
- nRF5 SDK parser: This parser doesn’t extract device timestamps. The column is hidden automatically.
- Raw parser: No timestamps are parsed. The column is hidden automatically.
- Zephyr parser: Check that your firmware’s log output includes timestamps. They should appear as
[HH:MM:SS.mmm,uuu]at the start of each line.
Watch Patterns
Section titled “Watch Patterns”Watch pattern dots aren’t appearing
Section titled “Watch pattern dots aren’t appearing”- Verify your patterns are correct by checking the exact message text in the log viewer
- Substring matching is case-insensitive, so capitalization shouldn’t matter
- If using regex, test your regex with a tool like regex101.com
- Check if you’re over the 3-pattern free limit. Only the first 3 patterns are active on the Free tier.
Counter shows 0 even though I see matching lines
Section titled “Counter shows 0 even though I see matching lines”Watch patterns only match new incoming lines. They don’t retroactively match lines that were already received before the pattern was added.
Performance
Section titled “Performance”Log viewer feels slow with many entries
Section titled “Log viewer feels slow with many entries”LogScope keeps up to 100,000 entries in memory by default. If you’re experiencing slowness:
- Click Clear periodically to reset the buffer
- Reduce
logscope.maxEntriesin settings if you don’t need 100K entries - Disable severity levels you don’t need (e.g., turn off DBG if you only care about errors)
Workspace Trust
Section titled “Workspace Trust”LogScope restricts the logscope.nrfutil.path and logscope.jlink.path settings in untrusted workspaces to prevent untrusted code from pointing LogScope at malicious executables.
If you see warnings about restricted settings, open the workspace trust settings and mark your workspace as trusted.