Daft icon indicating copy to clipboard operation
Daft copied to clipboard

[CHORE] Auto attach LLDB debugger to python

Open sagiahrac opened this issue 1 year ago • 2 comments

Details:

This update introduces attach_debugger.py for automated debugging, setting up the VSCode debugger for Rust and Python to enable native debugging from Python files with breakpoints in Rust code.

Changes:

  • Added attach_debugger.py to invoke LLDB and auto-attach the debugger.
  • Updated documentation in CONTRIBUTING.md

Example

auto_attach_example

Slack thread on Daft for more context: https://dist-data.slack.com/archives/C052CA6Q9N1/p1727182073891189

sagiahrac avatar Sep 26 '24 07:09 sagiahrac

CodSpeed Performance Report

Merging #2940 will not alter performance

Comparing sagiahrac:main (44a9539) with main (396c004)

Summary

✅ 17 untouched benchmarks

codspeed-hq[bot] avatar Sep 26 '24 07:09 codspeed-hq[bot]

Thanks! @andrewgazelka you wanna take a look?

jaychia avatar Sep 26 '24 08:09 jaychia

Changes moved to https://github.com/sagiahrac/Daft/tree/auto-attach-lldb-debugger @jaychia Should I recreate the PR with the adjusted branch?

sagiahrac avatar Oct 07 '24 10:10 sagiahrac

Changes moved to https://github.com/sagiahrac/Daft/tree/auto-attach-lldb-debugger @jaychia Should I recreate the PR with the adjusted branch?

yes :) let's do that

andrewgazelka avatar Oct 07 '24 20:10 andrewgazelka