Norbert515 / detective

35 stars 2 forks source link

Crashes after a few minutes #8

Open SzunTibor opened 3 years ago

SzunTibor commented 3 years ago

Hey, Any idea why does my detective freeze up after a minute of launch, pretty much independently of anything, as far as I can tell? Running on win 10, already disabled anti-virus, terminal says Connecting to ws://... and the UI becomes unresponsive, cpu consumption is 0.

Norbert515 commented 3 years ago

Can you try running the detective executable from the command line and see if there is any output?

Instead of just running detective (which runs a script launching detective), you will have to locate the executable (.pub-cache/git/detective-someUuid) and launch it via the command line.

SzunTibor commented 3 years ago

Started w debuggable.exe, no output, but, it works fine, running for 30mins now without a crash.

Norbert515 commented 3 years ago

Does it also work when running via the detective command now?

SzunTibor commented 3 years ago

No, running through the script still produces a crash.

Norbert515 commented 3 years ago

Sorry overlooked this comment, I pushed an unrelated new version. Can you try using that? Maybe something with your installation was corrupt

SzunTibor commented 3 years ago

No worries, same result, script freezes, exe is good, however, it is true that I'm having troubles w upgrades. Atm on 0.0.20-fix Pro and I press the Update to 0.0.20-2 now, to no avail. A terminal window pops up but nothing happens and just closes after a while.

Norbert515 commented 3 years ago

The update button just executes 'flutter pub global activate -sgit https://github.com/Norbert515/detective.git' in the background. Depending on how you installed it (with Flutter or without) you might need a different command.

Which way have you installed it? In the meantime, you can update by choosing your pub command and updating it