Browse Source

Refactored for new debug source registration.

Brucey 5 years ago
parent
commit
c942d4319a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      appstub.mod/debugger.glue.c

+ 2 - 1
appstub.mod/debugger.glue.c

@@ -134,7 +134,8 @@ BBString * bmx_debugger_DebugEnumDeclValue(struct BBDebugDecl * decl, void * val
 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
 BBString * bmx_debugger_DebugStmFile(struct BBDebugStm * stmt) {
-	return bbStringFromCString(stmt->source_file);
+	BBSource * src = bbSourceForId(stmt->id);
+	return bbStringFromCString(src->file);
 }
 
 int bmx_debugger_DebugStmLine(struct BBDebugStm * stmt) {