Modify Lua module loader to trace each file as it's executed
Aperta
progress/1
size/0.5
track/unscoped
value/0.75
- Lingua principale
- Rust
- Stelle
- 147
- Fork
- 10
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
If we can prepend every Lua file Torchbear runs with
```
log.trace("running: " .. debug.getinfo(1, 'S').source)
```
Then it'd be much easier to debug.
Since bridge.lua already sends off into the app, I think we'd have to modify the package searcher to basically do standard `require()`, but just add that one liner ahead of the module to run.
Possible?
---
or add `need`, `use`, or `run` instead of require
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.