How to debug in Adobe LiveCycle?

Avatar

Avatar
Boost 1
Level 1
Christopher95
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Validate 1
View profile

Avatar
Boost 1
Level 1
Christopher95
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Validate 1
View profile
Christopher95
Level 1

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
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
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
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

08-12-2020

@Christopher95 Are you testing in browser or acrobat?