You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/01/14 04:50:59 UTC

[GitHub] [netbeans] arusinha commented on issue #1857: [NETBEANS-3616]:Provided support of enable-preview hint and debug opt…

arusinha commented on issue #1857: [NETBEANS-3616]:Provided support of enable-preview hint and debug opt…
URL: https://github.com/apache/netbeans/pull/1857#issuecomment-573999722
 
 
   Q: -why parse the target address from the output, and not let the IDE listen and pass the port on 
   which the IDE is listening to the debugee
   Ans: My initial approach was adding a specific port for debug, but later changed it to dynamic port as I wanted to avoid this extra configuration in file properties.
   
   Q:  Moreover - if the compilation fails, will the user see the compilation error messages from javac? I see External Execution only supports a single Process, so this is obviously tricky.
   
   Ans:  In output window compilation/run errors are getting captured.
   
   e.g.,
   
    Error on Compilation. Please verify Source code and Compiler VM Options:
   /scratch/arusinha/JEP-330-trial/NewCla.java:26: error: not a statement
           aaa
           ^
   /scratch/arusinha/JEP-330-trial/NewCla.java:26: error: ';' expected
           aaa
              ^
   Note: /scratch/arusinha/JEP-330-trial/NewCla.java uses preview language features.
   Note: Recompile with -Xlint:preview for details.
   2 errors
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists