Evolucion Ip
Posts: 0
Joined: Sun May 25, 2014 12:53 pm

Build Error ' identifier is a reserved word debugger'

Hi I'm getting a problem when generating the apk file.
The builder retrieves the error:

'identifier is a reserved word debugger' so am I suposeed to delete all the debugger; function I've got on my project?
I've got other project witht his and I can generate the .apk files perfectly.

Can please anybody help?
Thanks

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Build Error ' identifier is a reserved word debugger'

Hi Evolucion,

It's reserved statement.

See details about it https://developer.mozilla.org/en-US/d...

So you can not call any variables/functions with this name.

Regards.

Evolucion Ip
Posts: 0
Joined: Sun May 25, 2014 12:53 pm

Build Error ' identifier is a reserved word debugger'

I use it to debug my apps. It's used in all my projects and all of them can generate the apk file perfectly. It's a perfectly valid javascript statement debugger;

Why it only happens in this project?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Build Error ' identifier is a reserved word debugger'

Hello!

We use forced by yui-compressor plugin minification for JS and CSS (Release builds). You need to use correct JS and CSS syntax for yui-compressor plugin. You can check compressing on http://refresh-sf.com/yui/ or any other external yui-compressor resources.

Evolucion Ip
Posts: 0
Joined: Sun May 25, 2014 12:53 pm

Build Error ' identifier is a reserved word debugger'

Does that mean we can not use debugger statement to debug our apps anymore? or better said that we need to delete them before trying to generate the apk files?

My other question is, why is this happening only in one of my projects? The rest of them can generate the apk files prefectly and they also have this debugger statement.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Build Error ' identifier is a reserved word debugger'

Hello,

You can use it to debug in browser, just would need to delete before building ipa/apk.

Return to “Issues”