Arma 3
Ocen: 333
Advanced Developer Tools
10
9
2
2
6
5
4
2
2
2
2
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Data Type: Mod
Mod Type: Equipment, Mechanics
Rozmiar pliku
Zamieszczono
Zaktualizowano
28.555 MB
21 stycznia 2021 o 14:49
2 maja o 18:56
Listy zmian: 81 ( zobacz )

Zasubskrybuj, aby pobrać
Advanced Developer Tools

W 1 kolekcji stworzonej przez Leopard20
My Workshop Releases
Przedmioty: 4
Opis
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! ;)
Popularne dyskusje Zobacz wszystkie (3)
61
13 kwietnia o 11:36
PRZYPIĘTE: Feedback
Leopard20
0
7 kwietnia o 2:53
Debug command search order issue
Rickoshay
0
24 marca o 1:21
Watch panel frame width
Rickoshay
Komentarzy: 147
Machine Gun Kelly 24 marca o 8:28 
@Leopard20 - Just for your knowledge, unsubscribing does not always actually delete the mod. It is STILL on your HDD

Though I do not recall this with OFP -> ARMA 2, I do know in ARMA 3, a few times, Steam did NOT delete the mods, they were still there, even though I unsubscribed (to fix a similar issue as yours).


BEST BET:

Unsubscribe from the mod via Steam

Stop the ARMA Launcher AND Steam

Find your mod folder and VERIFY that mod is GONE!

If it is still there, just whack it, all will be OK! :)


At times, it does it right away, though I have had about 3-5 mods that it did NOT delete. No matter how many times I subscribed/unsubscribed, it just would not delete them.

Thus, the steps I listed above, is how they came to be and the solution which does work.

Just a tip for you and others!

(As a note: This could have been a bug with Steam that has now been fixed - I do not know. This happened within the past 1-2 years ago to me.)

:)
Leopard20  [autor] 23 marca o 18:53 
If anyone gets this error:
"Addon `AdvDevTools` requires addon `AdvDevTools_Fonts`"

Please repair the mod via Launcher or simply unsub and resub. I pushed two updates very close to each other which seems to have confused Steam a bit ;)
Twentin Karantino 23 marca o 15:49 
@Leopard20 danke
Miss Heda 23 marca o 10:27 
Thanks <3
Leopard20  [autor] 23 marca o 10:25 
@Twentin Karantino
Use the reload option (Ctrl+R) to clear memory. Clear search only clears the search results.

@r0dx864
No. That's way too specific

@Akaviri13 @Rickoshay
Thanks.

@Miss Heda
I updated the keys but last I checked steam used to have a bug that it didn't delete old keys/signatures. Hopefully it's fixed but if not you'll have to delete them manually
Miss Heda 22 marca o 12:35 
@Leopard20 would it be possible to add / update the signature / key for this mod and make a dedicated key just for itself? Currently you use your private Leopard key for a few of your mods, meaning if you want to whitelist only ADT via the keys folder server side it will detect this mod but when joining it will block you due to arma not being able to identify the key cause you use it multiple times for other mods as well. It would really help a lot if you could take 10m of your time to quickly update that. <3
Rickoshay 20 marca o 9:53 
The Advanced Debug console/Tools literally saves me hours a day. Incredible work thank you! The amount of work you guys put into this is just mind blowing.
Akaviri13 11 lutego o 8:36 
Thank you so much for making this. It is incredibly useful and I can't imagine making mods without it anymore.
r0dx864 30 grudnia 2023 o 11:06 
i have a special request if you may? could you add the following code to have it collect errors and then could you create a ui interface to iterate through the errors and allow one to review those errors from that dialog/window? this technique stores all errors into the uinamespace, but it is cumbersome to look at arrays in raw form when i know you are good at making ui dialogs/displays:
//config.cpp:
class CfgFunctions {
class errorlog {
class error_functions {
class errlog {file="\errorlog\handle.sqf";preInit=1;preStart=1;};
};};};
//handle.sqf:
missionnamespace setvariable ["uievent_errorlog",missionnamespace getvariable ["uievent_errorlog",-1]];
if(!((getEventHandlerInfo ["scripterror",uievent_errorlog])#0))then{
addMissionEventHandler ["ScriptError",{
_errlog=uiNamespace getVariable ["error_log",[]];
if(1e7<(count str _errlog))then{_errlog deleteat 0};
_err=[systemtime]+_this;
_errlog pushback _err;
uiNamespace setVariable ["error_log",_errlog];
}];};
Twentin Karantino 21 listopada 2023 o 11:19 
is it possible to fix game crashing while searching in config search ? Also, found as an issue that "clear search" button are not flushing memory.