WSATools icon indicating copy to clipboard operation
WSATools copied to clipboard

Any plans for "Debug Mode"?

Open weareblahs opened this issue 4 years ago • 8 comments

Hi there.

I'm considering that if some users uses WSATools with any experience with ADB, they can just check if there's any errors or not. Something from the ADB commandline output can be also appreciated if you're planning to do that.

Debugging can be used for adb, as I didn't see any command prompt stuffs from WsaClient.exe.

Just a suggestion. You can add it if you want.

weareblahs avatar Dec 27 '21 10:12 weareblahs

This is a good suggestion!

Will definitely think about this and add it at some point 👍

If anyone wants to partecipate in this discussion, I'm leaving this issue open until it's implemented

Simizfo avatar Dec 27 '21 11:12 Simizfo

Debugging can be triggered after start install - by making a button called "Log" / "Debug" after clicking "install". Something similar to what installation packages uses - notably NSIS, where a log will be shown below the progress bar.

Turning on is optional, so you don't have to force open it. Plus, it's more better for error stuffs where you can tell the user who submitted the issue to copy the log.

Exporting the log to a text file is also highly appreciated.

weareblahs avatar Dec 28 '21 16:12 weareblahs

This is almost exactly what I thought it would look like!

The only difference being that my "log" would appear on a separate window, much like Rufus does

Simizfo avatar Dec 28 '21 23:12 Simizfo

Not quite sure about UWP restrictions, but I think they could allow a second window to pop-up or something like that.

Anyways, the separate window thing is a good idea, since I used Rufus before, made bootable disks, and always used the log window to troubleshoot errors or something like that. Need to ask, can ADB enable something like "verbose" debugging? All I can see on the command prompt stuff is like:

Performing streamed install
Done

By the way, if you're planning to implement this, you can "tag" the app names in the logs (not sure how to say that). Examples include:

[xcopy] Dec 29 2021 09:45:00 Copying files
[adb] Dec 29 2021 09:45:12 Performing Streamed Install

which follows the formula of [(process name)] (time) (command output?)

weareblahs avatar Dec 29 '21 01:12 weareblahs

UWP allows for multiple windows, yes

ADB verbosity needs to be checked, I have no idea to be honest. Tagging lines will be important!

Simizfo avatar Dec 29 '21 09:12 Simizfo

If you're implementing dates please add European format support somehow!

(Today is 04/01/2022 for example)

Or just use the system date...

DanielGolan-mc avatar Jan 04 '22 13:01 DanielGolan-mc

If you're implementing dates please add European format support somehow!

(Today is 04/01/2022 for example)

Or just use the system date...

Or even better, just use what the system shows. (that one time at the bottom-right corner), which, in batch, you can output this kind of time with echo %date:~4,11%. (You can arrange the 4 and 11 to a more suitable amount?)

weareblahs avatar Jan 05 '22 02:01 weareblahs

If you're implementing dates please add European format support somehow!

(Today is 04/01/2022 for example)

Or just use the system date...

Or even better, just use what the system shows. (that one time at the bottom-right corner), which, in batch, you can output this kind of time with echo %date:~4,11%. (You can arrange the 4 and 11 to a more suitable amount?)

That's what I meant with

System date

DanielGolan-mc avatar Jan 05 '22 06:01 DanielGolan-mc