DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: How to debug a plugin not loading?  (Read 5,575 times)

AJolly

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 38
How to debug a plugin not loading?
« on: July 07, 2025, 04:30 AM »
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_tinyev

I 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>+>^(..*)$

Original address: https://www.donationcoder.com/forum/index.php?topic=55253.0