Skip to content
D

debugging

How to debug tursodb using Bytecode comparison, logging, ThreadSanitizer

by tursodatabaseFree

Launch
#2867in AI Skills
0In stores

Description

Debugging is an agent skill that explains how to debug the Turso database, tursodb, when its behavior differs from SQLite. Turso aims for SQ…

Highlights

  • Bytecode comparison with SQLite's EXPLAIN
  • Separates code generation bugs from VM or storage bugs
  • Logging and ThreadSanitizer guidance
  • Deterministic simulation and corruption tools

Ratings & Reviews

No ratings yet

Be the first to rate debugging.

People also visit

D

differential-fuzzer

Information about the differential fuzzer tool

AI Skills
Launch
S

storage-format

SQLite file format, B-trees, pages, cells, overflow, freelist

AI Skills
Launch
T

testing

How to write tests, when to use each type of test, and how to run them

AI Skills
Launch
C

compound-docs

Capture solved problems as categorized documentation

AI Skills
Launch
A

async-io-model

Explanations of common asynchronous patterns used in tursodb

AI Skills
Launch
C

code-quality

General Correctness rules, Rust patterns, comments, avoiding over-engineering

AI Skills
Launch

debugging FAQ

What is the first debugging step?

Run EXPLAIN on the query in sqlite3 and in tursodb, then compare the bytecode from the two runs.

What does a bytecode difference mean?

If the bytecode is different, the bug is in code generation. If it is the same but results differ, the bug is in the virtual machine or the storage layer.

Who is it for?

Engineers who see behavior in tursodb that differs from SQLite and need to find which layer is at fault.

What other tools does it cover?

The listing names logging, ThreadSanitizer, deterministic simulation and corruption analysis tools.

How do I install it?

Run npx skills add https://github.com/tursodatabase/turso --skill debugging.

What security audits has it passed?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best debugging alternatives?

Popular alternatives to debugging include differential-fuzzer, storage-format and testing. See all debugging alternatives

Developer Stuff

Badges