topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday July 7, 2025, 6:42 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: How to debug a plugin not loading?  (Read 112 times)

AJolly

  • Supporting Member
  • Joined in 2011
  • **
  • default avatar
  • Posts: 33
    • View Profile
    • Donate to Member
How to debug a plugin not loading?
« on: July 06, 2025, 11:37 PM »
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>+>^(..*)$

AJolly

  • Supporting Member
  • Joined in 2011
  • **
  • default avatar
  • Posts: 33
    • View Profile
    • Donate to Member
Re: How to debug a plugin not loading?
« Reply #1 on: July 06, 2025, 11:39 PM »
p.s - sorry for the double post, but it looks like donationcoder.com went down when I posted.