| 788 | char debug_line_info[DEBUG_LINE_INFO_SIZE]; |
| 789 | |
| 790 | void DebugLineCallback(asIScriptContext *ctx, ASModule *asmod) { |
| 791 | const char *scriptSection; |
| 792 | int line = ctx->GetLineNumber(0, 0, &scriptSection); |
| 793 | LineFile lf = asmod->GetCorrectedLine(line); |
| 794 | FormatString(debug_line_info, DEBUG_LINE_INFO_SIZE, "Executing line %d in %s\n", lf.line_number, lf.file.GetFullPath()); |
| 795 | } |
| 796 | |
| 797 | std::pair<Path, int> ASContext::GetCallFile() { |
| 798 | const char *scriptSection; |
nothing calls this directly
no test coverage detected