SofaRuntime.formatStackForSofa

SofaRuntime.formatStackForSofa(o)[source]

Format the stack trace provided as parameter

The parameter is converted into a string like that

in filename.py:10:functioname()
    -> the line of code.
in filename2.py:101:functioname1()
    -> the line of code.
in filename3.py:103:functioname2()
    -> the line of code.