I am not able to see the results by using Dbms_Output.Put_Line in sql developer. The result is shown only once. When I execute it again, it is not shown. I checked a lot of workarounds described in google, but those haven't worked for me.
I am executing following:
set serveroutput on;
BEGIN
Dbms_Output.Put_Line('hello1');
END;
It should print 'hello1', everytime it executes, but instead, it does so only during first run. I have also tried the only resolution available on google: Opening the 'view' menu and clicking on 'dbms output'. I got a dbms output window at the bottom of the worksheet. I then added the connection by clicking on plus sign appearing in window. But even that did not work for me. Please can anyone help me here?