Topics - AJolly [ switch to compact view ]

Pages: [1]
1
FARR Plugins and Aliases / 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>+>^(..*)$

2
FARR Plugins and Aliases / How to debug a plugin not loading?
« on: July 06, 2025, 11:30 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>+>^(..*)$

3
Find And Run Robot / FARR crash related to changing monitor sizes.
« on: November 05, 2023, 08:50 PM »
Having a weird FARR crash issue, which seems to happen when I switch between physical monitors.  It changes the Windows section of the ini, and then any time I restart FARR it immediately crashes.  If I delete the Windows section, it starts back up fine.

Any advice? This is getting annoying, as I do switch between physical monitor configs quite frequently. I think it might have to do with the negative values?

Example: 
[Windows]
MainLeft=-3072
MainTop=34
MainWidth=2304
MainHeight=1654
OptionsLeft=8
OptionsTop=0
OptionsWidth=1022
OptionsHeight=718
AliasLeft=11
AliasTop=8
AliasWidth=851
AliasHeight=662
OptionsActivePage=9
OptionsTransparency=0
ToolbarWidth=121
PluginManagerWidth=917
PluginManagerHeight=718
HotkeyFormWidth=411
HotkeyFormHeight=342
CheckBoxUseCustomBackgroundResultColor=0
ColorBoxCustomBackground=-16777201
CheckBoxUseCustomBackgroundSearchColor=0
ColorBoxCustomSearchBackground=-16777201
ResultMode_Width_0=-1
ResultMode_Height_0=-1
ResultMode_Width_1=3072
ResultMode_Height_1=1654
ResultMode_Width_2=2304
ResultMode_Height_2=1654
ResultMode_Width_3=2304
ResultMode_Height_3=1277
ResultMode_Width_4=564
ResultMode_Height_4=320
ResultMode_Width_5=-1
ResultMode_Height_5=-1
ResultMode_Width_6=-1
ResultMode_Height_6=-1

Pages: [1]
Go to full version