Disable Print Statements in Builds
Applies to Kony Visualizer Classic.
Using print statements is a common way of evaluating a build and assisting in its debugging. However, you may wish to disable the generation of print statements during a build, especially when generating a release build. Depending on your debugging methodologies, you may even want to disable print statements for debug builds as well.
By default, Kony Visualizer generates print statements for both Debug Mode and Release Mode builds.
To disable the generation of print statements during a build, do the following:
- On the Window menu, click Preferences.
- From the left pane of the dialog box, double-click Kony Visualizer, and then click Build. Doing so displays the Build options in the right pane.
- Do one or both of the following, depending on whether you want to disable print statements for Debug Mode and Release Mode builds:
- Release Mode builds. To disable the generation of print statements during Release Mode builds, check the check box of the option titled Stub the print statements in custom modules during release build.
- Debug Mode builds. To disable the generation of print statements during Debug Mode builds, check the check box of the option titled Stub the print statements in custom modules during debug build.
- Click Apply, and then click OK.
Rev |
Author |
Edits |
7.0 |
NMK |
NMK |
|
© 2013 Kony, Inc. All rights reserved. |