rokucommunity / roku-debug

A compatibility wrapper around the BrightScript debug protocol https://developer.roku.com/en-ca/docs/developer-program/debugging/socket-based-debugger.md
MIT License
13 stars 9 forks source link

Auto-inject rdb/rale tracker logic #131

Open TwitchBronBron opened 1 year ago

TwitchBronBron commented 1 year ago

For projects with the "standard" main function structure, we can fairly easily detect where the developer creates the scene, and when they call scene.show(). With this information, we can also detect exactly where to initialize RTA and RALE tracker tasks.

This PR auto-injects the code to activate the RTA and RALE trackers.

Still a work in progress...