parallaxinc / SimpleIDE

SimpleIDE for Propeller
26 stars 13 forks source link

Distinguish "build errors" from "download errors" #261

Open PropGit opened 8 years ago

PropGit commented 8 years ago

[EDITED - see bottom of this post plus the new post] We need Simple IDE to provide a clear distinction between a "build failure" and a "download failure."

Simple IDE currently shows the same message for both cases right now:

image

For the case shown above, when it's actually a download failure, we need the Build Error dialog to be a Download Error dialog, which says "Download Failed. Check Build Status for errors."

SimpleIDE can easily determine this result by using the -c option for PropLoader and parsing the start of messages for certain codes; Issue #260.

For example: message 005 means the download was successful, and 006 means it is now switching to terminal mode. Anything in the 100 range means the download failed (when the intent was to download, of course).

Even if not using the above technique, when there's a download error, it should still be possible to display a Download Error dialog instead of a Build Error dialog (to satisfy this issue) since SimpleIDE has already reached a distinct state where it knows it is now attempting a download.

PropGit commented 7 years ago

@jsdenson - I edited this issue. It can still be achieved even without parsing the error codes. Please make this enhancement happen.

PropGit commented 7 years ago

@jsdenson - Will you be readdressing this one soon?