CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

[BEFORE POSTING] Useful information to catch the problem.

by Alexander Bulei » 23 Aug 2013 16:31

Hello,

Since V1.6.0.2682, we activate the Javascript Error Handler.

Image

It can be controlled only in the main thread using IWCGJQCommon.CGJSErrorHandler: Boolean (Default = True);

We understand that web apps shouldn't have any javascript errors,
By default, nobody can see them, only IE shows a icon at the bottom left.
Sometimes these errors are inoffensive and ignorable, but they also can lead to browser crash problems.

If you see a Dialog showing javascript errors, before the reporting/posting, please check this:

  1. Enable the JavaScript debug
    • For IW14
      delphi code
      ServerController.JavaScriptOptions.Debug = True
      ServerController.JavaScriptOptions.UseUncompressedFiles = True
    • For < IW14
      delphi code
      ServerController.JavaScriptDebug = True
  2. Set CGJSErrorHandler=False in ServerController.OnCreate.
  3. When the error is trigger, check the stack, to realize what is the source of the problem.

We also have in mind to implement a feature, that will allows to send the info to the server, generating an event.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by OliverM » 07 Feb 2020 06:42

Thanks for the information, very useful
OliverM
 
Posts: 1
Joined: 07 Feb 2020 06:33


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.