Skip to content

Improve debugging possibilities for scripts loaded by DependencyManager #178

@ultimate

Description

@ultimate

When errors occur in scripts that have been added dynamically, the browser's debugger is not able to determine the exact source of the error - only the line is displayed (with an offset of 1).

In relation to #177 the debugging behaviour could be improved if scripts are not added if dependencies have failed. If a try catch (as proposed by #176) was added, the DependencyManager could log the errors together with the name of the script that caused the error. This will make debugging much easier.

Unfortunately this won't help for errors during runtime, since the scripts are still not really debuggable at that time...

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions