Show ModuleScript requires in the Call Stack when debugging

The Call Stack widget displays the stack of function calls, but does not include require() calls for ModuleScripts.

This makes it difficult for the programmer to see when and where a module is being required when stepping through its initialization code.

This is generally inconvenient, but it is also particularly problematic in codebases with lots of ModuleScripts with the same name or relative path, or where lots of different scripts require the same ModuleScript.

4 Likes