Commit 9ca6f92
authored
Increase Lua's debug path size. (#2298)
When Lua reports a stack traceback, it prints the path to the files.
But by default, right now, it's limited to 60 characters, which gets
super annoying when trying to work on the codebase, as paths are
ellipsized if they are bigger, which prevents from Ctrl-clicking on them
to go to the right location in the IDE/editor.
This increases the limit to double the default size, which so far has
worked fine for me.
Before:
```
stack traceback:
.../premake/modules/gmake/tests/cpp/test_make_pch.lua:66:
```
After:
```
stack traceback:
/home/joao/dev/tools/premake/modules/gmake/tests/cpp/test_make_pch.lua:66:
```1 parent 1a80408 commit 9ca6f92
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
785 | | - | |
786 | | - | |
787 | | - | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
788 | 789 | | |
789 | 790 | | |
790 | 791 | | |
0 commit comments