Skip to content

Commit

Permalink
Update generated natvis XML
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed Jan 30, 2025
1 parent 4f23352 commit 447aa5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/js/components/pages/info/pane-info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const props = defineProps({
const componentQueryResult = ref({results: []});
onMounted(() => {
props.conn.query("Component, (Identifier, Symbol), !flecs.meta.primitive", {}, (reply) => {
props.conn.query("Component, (Identifier, Symbol), !flecs.meta.primitive, !flecs.meta.opaque", {}, (reply) => {
componentQueryResult.value = reply;
});
});
Expand All @@ -113,7 +113,7 @@ const natvisXml = computed(() => {
let symbol = r.fields.values[1].value;
symbol = symbol.replaceAll(".", "::");
xml += `<Item Name="${name}" Condition='!strcmp(ComponentName, "${path}")'>*(${symbol}*)Ptr</Item>\n`;
xml += `<If Condition='!strcmp(Symbol, "${symbol}")'><Item Name="${path}">*(${symbol}*)Ptr</Item><Exec>Found = true</Exec></If>\n`;
}
return xml;
Expand Down

0 comments on commit 447aa5f

Please # to comment.