How to debug in Adobe LiveCycle?

Avatar

Avatar

Christopher95

Avatar

Christopher95

Christopher95

13-11-2020

Hello, I am currently doing javascript tests and I need to debug, I tried several approaches to no avail:

 

console.println ("debug");  -> when i click on F5 nothing is displayed anywhere, what is it supposed to do?

 

xfa.host.messageBox ("This is a message", "This is a title", 3, 1); -> when i click on F5, i hear a Windows sound but the popup does not appear

 

I am using Adobe LiveCycle ES4 and Acrobat Reader DC.

 

Please help.

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

radzmar

MVP

Avatar

radzmar

MVP

radzmar
MVP

16-11-2020

With Reader you'll have to force the JavaScript console to open with console.show().

This might not work in the PDF preview, since this tab uses the browser plugin of reader. You better open your PDF separately.

Avatar

Avatar

Mayank_Gandhi

Employee

Avatar

Mayank_Gandhi

Employee

Mayank_Gandhi
Employee

08-12-2020

@Christopher95 Are you testing in browser or acrobat?