cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glmnbeyond (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-5520) Should we add "DEBUG=1" to "Preprocessor Macros"->"Debug" ?
Date Mon, 02 Dec 2013 02:34:35 GMT

     [ 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)

Mime
View raw message