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 (1)

Answers (1)

Avatar

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

387

Correct Answer

485

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

387

Correct Answer

485
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.