View Issue Details

IDProjectCategoryView StatusLast Update
0038162LazarusIDEpublic2020-12-05 14:07
ReporterOkobaPatino Assigned ToBart Broersma  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version2.1 (SVN) 
Summary0038162: No support for {$WAIT}
DescriptionIf {$WAIT} is used in the code, Lazarus shows the "Press <enter> to continue" but does not support input or continuing the compile.
Steps To Reproduceprogram Project1;

begin
  {$WAIT}
end.
                                                       
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Activities

Bart Broersma

2020-12-03 09:14

developer   ~0127330

The {$WAIT} compiler directive is meant to be used when compiling from commandline.
Lazarus is a full blown GUI RAD tool.
We capture and filter output by the compiler and show it in messages window, that's it.

IMO: resolve as "won't fix"

OkobaPatino

2020-12-03 09:38

reporter   ~0127332

As discussed in the forum, the usage is insignificant but useful in some cases. Or at least, it is not a bad idea to inform the user why IDE hangs and shows a message (ask for key enter) that you can not do anything except stoping the compilation.
https://forum.lazarus.freepascal.org/index.php/topic,52377.0.html

Bart Broersma

2020-12-03 11:45

developer   ~0127334

If you use {$WAIT} you are supposed to know what you are doing.
If you know what you are doing, you know it really is a bad idea then to compile your application inside a GUI RAD.

OkobaPatino

2020-12-05 14:07

reporter   ~0127355

Thank you for the answer.

Issue History

Date Modified Username Field Change
2020-12-03 07:56 OkobaPatino New Issue
2020-12-03 09:14 Bart Broersma Note Added: 0127330
2020-12-03 09:38 OkobaPatino Note Added: 0127332
2020-12-03 11:45 Bart Broersma Note Added: 0127334
2020-12-05 14:03 Bart Broersma Assigned To => Bart Broersma
2020-12-05 14:03 Bart Broersma Status new => resolved
2020-12-05 14:03 Bart Broersma Resolution open => won't fix
2020-12-05 14:03 Bart Broersma LazTarget => -
2020-12-05 14:07 OkobaPatino Note Added: 0127355