Arma 3
358 ratings
Advanced Developer Tools
14
9
2
2
6
6
4
2
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Equipment, Mechanics
File Size
Posted
Updated
28.564 MB
21 Jan, 2021 @ 2:49pm
15 Sep, 2024 @ 1:03pm
84 Change Notes ( view )

Subscribe to download
Advanced Developer Tools

In 1 collection by Leopard20
My Workshop Releases
4 items
Description
This addon adds completely new and revamped developer tools to the game, including a Debug Console with syntax highlighting and linter, fast Config Viewer with tree view, advanced search options and config data viewer, and a Function Viewer with search ability and syntax highlighting.

Please refer to the mod documentation inside the mod folder for a complete description of the features. You can read an online version of the document here[drive.google.com].

⚠ If your input method is set to anything other than English in Windows, some input related features (shortcuts, auto-completion of brackets, etc.) might be broken. I'll try to address this issue in future updates.


If you're a mod/mission maker, then you definitely must've used the Debug Console, the Config Viewer, as well as other in-game tools that can help you test and verify your codes and configs.

But when you use those tools, the first thing that strikes you is their clunkiness and a rather user-unfriendly design.

For instance, lack of syntax highlighting in Debug Console means that you'll have to actually read every single word of your code in order to make sure you haven't made a typo, etc.
That's why most of us use third party code editors such as Visual Studio Code and Notepad++. But this means that you'll have to switch out of the game every time you want to write and test some code.
Or let's take a look at the Config Viewer: every time you want to go one level deeper into the config, the whole config viewer must be reloaded! And if you have hundreds of mods loaded, this means you have to spend more time waiting for the Config Viewer to load than actually viewing the config!

This is exactly why I made this mod: to make the Arma environment more user friendly to the mod/mission makers.

So without further ado, let's take a look at the features!

Features:

General Design:
- A familiar Windows design, with resizable and moveable windows. In addition to other Windows features like snapping the Window to the screen borders. Enjoy a multi window experience in Arma 3!
- Customize the mod the way you want. The mod offers a wide variety of customization options, including theming! You can recolor almost everything!

Debug Console:
- Enjoy SQF scripting with syntax highlighting, with several perdefined themes! (such as VSCode Dark+)
- Improved code editing features, such as Tabs (tab key), Case Conversion (Ctrl+Shift+U), Undo/Redo (Ctrl+Z, Ctrl+ Y), Word Delete (Ctrl+Backspace/Delete), Commenting Out (Ctrl + Q), and many many more!
- Multi-Tab design! Edit multiple scripts at the same time!
- Search and Replace with various search options, along with Normal, Extended, and Regex (not available yet) search modes!
- Advanced auto-completion suggestions (similar to VSCode/Notepad++), including event handler names, functions, magic words, etc.
- View the command syntax information in a new and improved Scripting Help window (F1)
- Complete preprocessor support, using SQF-VM's excellent preprocessor (thanks to X39)
- Added a new button that let's you run the code in Scheduled Environment directly (no need for spawn anymore)
- Added a new button for custom RemoteExec: remoteExec the code for your target client(s)
- Added a text box for providing arguments to your test code (no need for _args call {...} anymore)
- Open files (from addons) and functions to view/edit them
- A dedicated Execution History window. Want to re-execute a command you tried some time ago? You know where to find it!
- An advanced Color Picker at your disposal, which can come really handy if you're designing GUI elements.
- Magic Word: Typing this into most text boxes will open the debug console, and you can continue editing your code in there, and save it back into that text box!

Watch:
- Define as many Watched Expressions as you want! You can also customize their colors, and even pin them so that you can see them during gameplay!

Draw:
- Are you testing something that requires visualization using points and lines? The setup takes too long? Fear not! The mod comes with a "Draw" feature that let's you define custom "drawIcon3D"/"drawLine3D"s with just a few clicks! And you can define as many of them as you want!

Config Viewer:
- A super fast config viewer with a custom "Tree" design. No more annoyingly long loading times when you open the Config Viewer!
- Customize the config viewer colors to you liking
- Replaces the vanilla config viewer in the context menu of Eden (right click on entity) for faster entity lookup.
- Config Search: Search in the config in classes,
- Go To Config
- Accidentally went to another config? Want to go back? Use the Back and Forward feature!
- An advanced Data Viewer for viewing various types of config data, including: arrays, text, images, colors, models, and sounds (sounds don't work very well at the moment)
- Dedicated Bookmarks window

Function Viewer:
- A function viewer with syntax highlighting, search ability, and several recompilation options.

Known issues:
- Bracket auto-completion may be broken if you use non-English keyboard input. You can disable bracket auto-completion in settings..
- The mod uses non-whitelisted extensions (regex and preprocessor). Please disable BattleEye if you want them to load properly.
- The editor can get slow if your code is too long (larger than ~300 lines). This is a game issue and I can't fix it
- There are a couple of issues with the order in which windows are shown. (Arma issue)
- If you see this error:
'...able ["EditorBackground", controlNull]) |#|ctrlSetBackgroundColor DBUG_colorEditor;...' Error 0 elements provided, 4 expected File DBUG\functions\console\fn_initConsole.sqf ..., line 12
It means the mod settings are corrupted. Go to Advanced tab in mod settings, and select "Reset all settings".

FAQ:
Q1 - I turned off all options and now the Debug Console doesn't appear anymore! What should I do?
A1 - Use the magic word! Type "dbug" into any text box (like the vanilla debug console) and it'll pop up!


Q2 - What language did you use to make the mod?
A2 - The Preprocessor and Regex extensions were written in C++. The rest of the mod is written in SQF.

Q3 - What is the save feature for?
A3 - Ctrl+S saves the contents of the debug console into the control (text box) if you used the Magic Word feature. Ctrl+Shift+S saves it permanently into the Saved Scripts window.

Q4 - Can I edit external files?
A4 - At the moment, no.

Requirements:
None (Arma 3 v2.06+)


Localization
Interested in translating the mod to your language? Or maybe the translation is not good and you'd like to improve it? Please visit the localization repository on GitHub[github.com].


BI Forums Thread[forums.bohemia.net]


Credits:
Thanks to everyone who contributed to the mod. You can find their names in mod's About section! :)
Thanks to X39 for allowing me to use the SQF-VM preprocessor, and helping me figure out its internals!
Huge thanks to Instant Arma for their review of the mod!

Trivia:
This mod was featured in Community Radar 21![arma3.com] Interestingly, it was released on 2021/01/21! To make things even weirder, it was built and tested using Arma3 v2.01! ;)
Popular Discussions View All (3)
62
12 May, 2024 @ 11:03am
PINNED: Feedback
Leopard20
0
7 Apr, 2024 @ 2:53am
Debug command search order issue
RickOshay
0
24 Mar, 2024 @ 1:21am
Watch panel frame width
RickOshay
172 Comments
akostas47 2 hours ago 
please use -showScriptErrors "16:54:10 Error in expression <dow getVariable [_border, controlNull]) ctrlSetBackgroundColor DBUG_colorBorder;>
16:54:10 Error position: <ctrlSetBackgroundColor DBUG_colorBorder;>
16:54:10 Error 0 установлено элементов, 4 ожидалось
16:54:10 File /DEV_TOOLS/functions/general/EHs/fn_initCtrl.sqf..., line 65"
Snake 12 Oct, 2024 @ 4:11pm 
thank you SO MUCH ! <3
Leopard20  [author] 17 Sep, 2024 @ 1:26pm 
@That Asbo Guy
Thanks. No promises but if I find some time I'll give it a shot.

@Tezcatlipoca - Tloquenahuaque
Sorry I forgot to reply. I still have no clue what could be wrong. If you want you can DM me the rpt via Discord (@leopard20) and I'll check if I see something unusual.
That Asbo Guy 17 Sep, 2024 @ 10:06am 
Can we get some support for intercept when used as 'server extension'. throws error (still runs code but error overlays code editor) even being able to manually being able to add custom commands would be amazing, with the new commands toJson & fromJson being added in 2.18 could maybe have it check for custom json file and add commands or something. other than that its an amazing mod been using for several years now!
MK_ 19 Jul, 2024 @ 6:52pm 
Hi, RPT reports the mod as being loaded and ARMA3 shows the mod in the main menu but there is no functions from the mod being compiled.
MK_ 19 Jul, 2024 @ 6:32pm 
Hi Leo, yes the mod loads (or atleast thats what arma says in main screen ).

I can check in a bit the functions.
Leopard20  [author] 19 Jul, 2024 @ 6:16pm 
I've never heard of or had this issue so I'm not sure what's wrong here.
Check if the mod is even loaded properly. For example. see if the name of the mod appears in main menu at the bottom, or open the function viewer and see if the functions from this mod (tag is DBUG) are there at all.
Also once you get the mod to appear again, open the settings and check both "Always show console" and "Replace vanilla debug console" options.
Machine Gun Kelly 19 Jul, 2024 @ 10:51am 
@Tezcatlipoca - Tloquenahuaque - Until the dev gets back to you, do this: Check you ARMA RPT files. A lot of times, this log file will 'point' you to the error.

Unless the is a 'system-wide' issuse with the mod, I suspect the dev will also ask for your RPT files too...be prepared! :)

Otherwise, you will have to wait.

Good luck to ya!

:)
MK_ 17 Jul, 2024 @ 5:47pm 
Ive been having constant problems with this mod.
It stops working randomly even with a vanilla game without any mods loaded and the magic workd wont make the console show.

Any pointer in how to fix?
SSG 14 Jul, 2024 @ 1:41am 
Reverted the font mod with vanilla EtelkaMonospacePro config database, and it worked smoothly! THANK YOU!