| 724 | } |
| 725 | |
| 726 | void ASContext::DumpCallstack(std::ostream &out) { |
| 727 | module.LogGlobalVars(); |
| 728 | asUINT sz = ctx->GetCallstackSize(); |
| 729 | for (asUINT n = 0; n < sz; n++) { |
| 730 | asIScriptFunction *func; |
| 731 | const char *scriptSection; |
| 732 | int line, column; |
| 733 | func = ctx->GetFunction(n); |
| 734 | line = ctx->GetLineNumber(n, &column, &scriptSection); |
| 735 | LineFile lf = module.GetCorrectedLine(line); |
| 736 | |
| 737 | out << lf.file << " line " << lf.line_number << " \"" << func->GetDeclaration() << "\"\n"; |
| 738 | } |
| 739 | } |
| 740 | |
| 741 | void ASContext::LogCallstack() { |
| 742 | } |
no test coverage detected