breadcrumbs
breadcrumbs copied to clipboard
Bug: BC cannot read links and dangling nodes on first run
Steps to reproduce the behavior:
- Open Obsidian with the BC plugin enabled from the last session
- BC cannot read links and dangling nodes into its database (#324, the
this.app.plugins.plugins.breadcrumbs.mainG.toJSON()object has no edge and no dangling node) - Turn off the plugin
- Turn on the plugin
- It works again
I follow the Debugging Breadcrumbs article. I use the TRACE mode, click Refresh Index, but I don't see any dvCaches:

I'm on:
- Windows 11 Home Single Language Version 10.0.22000 Build 22000,
- Obsidian 0.13.23
- Breadcrumbs 2.52.0
Code to checking if BC is running properly:
var bcEdgeList = this.app.plugins.plugins.breadcrumbs.mainG.toJSON().edges
var IsBreadcrumbsrunning = new Promise((resolve,reject) => {
if(bcEdgeList.length !== 0){
resolve('Breadcrumbs is running properly')
} else {
reject('Breadcrumbs has problem')
}
})
IsBreadcrumbsrunning.then(message => console.log(message))
.catch(message => console.log(message))
I think this is resolved in v4, see here for more info: https://github.com/SkepticMystic/breadcrumbs/blob/master/V4.md Will close this out for now, please reopen if it still occurs