ADVANCED_DEVELOPMENT.md
Yes, we have step through debugging with FastLED using LLDB.
Quick Start:
tests/ and open itF5 to start debuggingCommand Line:
uv run clang-tool-chain-lldb <executable>uv run clang-tool-chain-lldb .build/meson-debug/tests/runner.exe -- <test_name>.dllNote: FastLED includes built-in crash handlers that automatically provide excellent stack traces with function names, line numbers, and full call stacks. For most debugging needs, the automatic crash output is sufficient. Use LLDB when you need breakpoints, variable inspection, or step-through debugging.
See docs/agents/lldb-debugging.md for detailed LLDB usage guide.
web-compilerdocker installed for fastest compile times. It's free.cd <FASTLED FOLDER>pip install fastledfastled examples/Blink/Blink.ino
Most of this is in the basic CONTRIBUTING.md guide. But as a reminder
./test./lint./compile uno,teensy41,esp32s3 --examples Blink,Apa102HDaider.chat is available for advanced and high velocity coding with FastLED. To use it, have your open-ai or Anthropic api key ready. It's recommended to use Anthropic as it's performance is much better than Open-AI for coding.
At the root of the project type:
./ai and follow the prompts. Once the key is installed you will get a prompt that looks like this:
architect>
There are two modes to use this AI, a watch mode which watches your files for changes and launches automatically, and a slow way which you add target files then instruct it to make changes:
AI! at the end. The ai will see this and start implementing what you just typed.src/fl/vector.h and put in a comment // Add more comments AI!, then say yes to the changes in the prompt.architect> prompt you will add a file to the chat
/add src/fl/vector.h/run ./test/run uv run test.pyEvery single time you do a change, make sure and thoroughly check it. I recommend VSCodes built in git diff tool.
Although the AI is pretty amazing, it will inject entropy into your code and this is the source of a lot of problems. So watch all changes it makes very thoroughly. Under almost all circumstances you will have to revert unnecessary changes (like comments) line by line.