Come posso abilitare il debug Java?

È possibile abilitare il debug Java per verificare la presenza di problemi nelle applicazioni Java .

A proposito di questo compito

Il client HCL Notes ® supporta il debug Java nei seguenti contesti. Ogni contesto ha la propria JVM. Solo un utente può eseguire il debug alla volta in ogni contesto.

  • Primo piano: codice Java eseguito in modo interattivo nel client Notes® , ad esempio un agente attivato dal menu Azioni.
  • Background -- Java code that runs in the Notes® client under control of the task loader, for example, a locally scheduled agent.
  • Anteprima Web: anteprima del codice Java in un browser tramite Domino® Designer, ad esempio un'applet su un modulo.

Il codice Java di una libreria di script viene eseguito nel contesto del codice chiamante.

To enable and disable Java debugging on the Notes® client, complete the following steps:

Procedura

  1. Fare clic su Strumenti > Preferenze debug Java . Si apre la finestra di dialogo Preferenze debug Java .
  2. To enable foreground debugging, select Client Agents/Applets and specify a port number to connect the Notes® and debugger computers. Deselect to disable.
  3. To enable background debugging, select Locally Scheduled Agents and specify a port number to connect the Notes® and debugger computers. Deselect to disable.
  4. To enable Web preview debugging, select Http Preview and specify a port number to connect the Notes® and debugger computers. Deselect to disable.

Risultati

Scegli un numero di porta che ritieni sia gratuito. Ciò potrebbe richiedere tentativi ed errori o chiedere all'amministratore di sistema.

Il debug Java è disabilitato per impostazione predefinita.

If changes are made to the foreground or background preference, you must restart Notes®. If changes are made to the Web preview preference, the preview must be restarted.

For more information on Java debugging, see HCL Domino® Designer Help.