Запуск такого script:
1: function foo()
2: {
3: bar
4: }
5:
6: function bar()
7: {
8: throw "test"
9: }
10:
11: foo
Я вижу
test
At C:\test.ps1:8 char:10
Можно ли получить более подробную трассировку стека?
At bar() in C:\test.ps1:8
At foo() in C:\test.ps1:3
At C:\test.ps1:11