What's the best way to debug a plugin not successfully loading?
I've been working on some mods to farr_tinyev, to use voidtool's search everything as the backend for FARR for launching apps. It's usually been working great!
But sometimes the plugin fails to load, and I have no idea how to properly debug that issue.
*Loading plugin: FARR_TinyEv\farr_tinyev_20250604_175751.dll
Failed.
Related: is there a way for me to run FARR with my plugin in a debugger and set breakpoints/step through? No idea what id need to do in VS code to get it to work.
It's written in C, using "JrPluginFuncs_FARR.h" and "JrPluginFuncs.h"
I have not pushed my local changes, but the base code is
https://github.com/AJolly/farr_tinyevI updated tinyev to use the Everything 1.5 sdk, and then every search from FARR gets "path: farr: " prepended to the search string.
In everything i have a preset filter farr, with the macro farr, with all the directories I want to search.
ext:exe;lnk;cmd;bat;ahk !sync-conflict c:\ccdc\portableapps\|c:\ccdc\scripts\|c:\ccdc\sysinternals\|c:\ccdc\avalerts\nirsoft\|c:\ccdc\commandlinetools\|<c:\users\jolly\ "start menu">|"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\"|"C:\Users\jolly\Downloads\"
Then I have an alias set so anything i type gets sent to the plugin.
1000>>>sendeverythingtoev>->dosearch ev $$1>+>^(..*)$