Arma 3
274 ratings
Advanced Developer Tools
Data Type: Mod
Mod Type: Equipment, Mechanics
File Size
27.838 MB
Jan 21, 2021 @ 2:49pm
Aug 15 @ 11:35am
62 Change Notes ( view )

Subscribe to download
Advanced Developer Tools

In 1 collection by Leopard20
My Workshop Releases
3 items
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[].

⚠ 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!


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!

- 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!

- 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:
' ["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".

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.

None (Arma 3 v2.06+)

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[].

BI Forums Thread[]

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!

This mod was featured in Community Radar 21![] 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 (1)
May 4 @ 9:10am
PINNED: Feedback
< >
Leopard20  [author] Aug 4 @ 4:44pm 
What do you mean? What do you want to do?
Coltrigun Aug 4 @ 8:43am 
I am really sorry to ask this question but I am totally new to this programmation and tool. But does it possible to change raw data from the config viewer ?
Leopard20  [author] Jul 30 @ 7:04pm 
texture finder? my mod doesn't have a texture finder
and no it's not possible
deBearN Jul 30 @ 6:53pm 
is it possible to make the texture finder view obfuscated images?
Leopard20  [author] Jun 19 @ 5:05pm 
Yes. If you can modify the description.ext that's one way. It will apply to all admins.

Or more easily, just enable the "Always Show Debug Console" option (do it in Editor). Every admin must do this for themselves.

@NutzMcKracken / speedrcr
Having layered access requires a lot of UI changes which I'm not in the mood for. So it most likely won't be added.
speedrcr Jun 19 @ 10:43am 
Definite second this, having layered access similar to Infistar (Admin, Owner, Pleb, etc) will be very useful to larger communities.
BastienWolf Jun 19 @ 5:10am 
If i want that mod can be use only for staff players ?
i just put enableDebufConsole = 1; ?
Leopard20  [author] Jun 16 @ 11:02am 
I guess I'll enable the option Always Allow Debug Console for admins too in the next update.
Leopard20  [author] Jun 16 @ 10:59am 
Hi. It works the same way as vanilla debug console. Just put enableDebugConsole = 1 in description.ext of the mission, or make a simple mod that defines that variable if you want to enable it in all missions. This mod already does that:
BastienWolf Jun 16 @ 10:30am 
Hi and thx for this mod.
But how work the new system with admin level ?