Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24BF2100F8 for ; Mon, 2 Dec 2013 02:34:35 +0000 (UTC) Received: (qmail 90471 invoked by uid 500); 2 Dec 2013 02:34:35 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 90428 invoked by uid 500); 2 Dec 2013 02:34:35 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 90420 invoked by uid 99); 2 Dec 2013 02:34:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 02:34:35 +0000 Date: Mon, 2 Dec 2013 02:34:35 +0000 (UTC) From: "glmnbeyond (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-5520) Should we add "DEBUG=1" to "Preprocessor Macros"->"Debug" ? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] glmnbeyond updated CB-5520: --------------------------- Description: I created a helloCordova project via Cordova CLI, and added some debug info to native code: DLog('This is a debug info'); But the debug info is never outputted.If I use ALog, the info can be outputted, so I think it probably has something to do with the "DEBUG" macro. After I added "DEBUG=1" to "Preprocessor Macros", ran the helloCordova target, DLog can be outputted. So here is my question: Should we add "DEBUG=1" to iOS template project->"Build Settings"-> "Preprocessor Macros" ->"Debug" ? was: I created a helloCordova project via Cordova CLI, and added some debug info to native code: DLog('This is a debug info'); But the debug info is never outputted.If I use ALog, the info can be outputted, so I think it probably has something to do with the "DEBUG" macro. After I added "DEBUG=1" to "Preprocessor Macros", ran the helloCordova target, DLog can be outputted. So here is my question: Should we add "DEBUG=1" to iOS template project->"Build Settings"->"Preprocessor Macros"->"Debug" ? > Should we add "DEBUG=1" to "Preprocessor Macros"->"Debug" ? > ----------------------------------------------------------- > > Key: CB-5520 > URL: https://issues.apache.org/jira/browse/CB-5520 > Project: Apache Cordova > Issue Type: Wish > Components: iOS > Affects Versions: 3.2.0 > Reporter: glmnbeyond > Priority: Minor > > I created a helloCordova project via Cordova CLI, and added some debug info to native code: > DLog('This is a debug info'); > But the debug info is never outputted.If I use ALog, the info can be outputted, so I think it probably has something to do with the "DEBUG" macro. > After I added "DEBUG=1" to "Preprocessor Macros", ran the helloCordova target, DLog can be outputted. > So here is my question: > Should we add "DEBUG=1" to iOS template project->"Build Settings"-> "Preprocessor Macros" ->"Debug" ? -- This message was sent by Atlassian JIRA (v6.1#6144)