Skip to content

Commit

Permalink
Mark Lua module code as user code
Browse files Browse the repository at this point in the history
  • Loading branch information
WheretIB committed May 31, 2020
1 parent fe0868c commit 82f8c33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion LuaDkmDebuggerComponent/LocalComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ internal class LuaResolvedDocumentItem : DkmDataItem
public LuaScriptSymbols script;
}

public class LocalComponent : IDkmCallStackFilter, IDkmSymbolQuery, IDkmSymbolCompilerIdQuery, IDkmSymbolDocumentCollectionQuery, IDkmLanguageExpressionEvaluator, IDkmSymbolDocumentSpanQuery, IDkmModuleInstanceLoadNotification, IDkmCustomMessageCallbackReceiver, IDkmLanguageInstructionDecoder
public class LocalComponent : IDkmCallStackFilter, IDkmSymbolQuery, IDkmSymbolCompilerIdQuery, IDkmSymbolDocumentCollectionQuery, IDkmLanguageExpressionEvaluator, IDkmSymbolDocumentSpanQuery, IDkmModuleInstanceLoadNotification, IDkmCustomMessageCallbackReceiver, IDkmLanguageInstructionDecoder, IDkmModuleUserCodeDeterminer
{
public static bool attachOnLaunch = true;
public static bool releaseDebugLogs = false;
Expand Down Expand Up @@ -2198,5 +2198,10 @@ DkmCustomMessage IDkmCustomMessageCallbackReceiver.SendHigher(DkmCustomMessage c

return null;
}

bool IDkmModuleUserCodeDeterminer.IsUserCode(DkmModuleInstance moduleInstance)
{
return true;
}
}
}
1 change: 1 addition & 0 deletions LuaDkmDebuggerComponent/LocalComponent.vsdconfigxml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<Interface Name="IDkmSymbolCompilerIdQuery"/>
<Interface Name="IDkmSymbolDocumentCollectionQuery"/>
<Interface Name="IDkmSymbolDocumentSpanQuery"/>
<Interface Name="IDkmModuleUserCodeDeterminer"/>
</InterfaceGroup>

<InterfaceGroup>
Expand Down

0 comments on commit 82f8c33

Please sign in to comment.