Highlighted

runtime errors are not showing in debugger!

Participant ,
Oct 23, 2014

Copy link to clipboard

Copied

Hi,

I have recently faced a very strange problem. at first I thought maybe it's because of the new Air SDK 15 build 302 but after switching back to older SDK the problem is still there! any idea or hint about this would be great. just tell me the first thing that comes to your mind and I will search about it more...

the problem is that when I was testing my apps in debug mode (on Android or iOS) if there were a runtime error, the app used to stop and my IDE (I use FlashDevelop) could take me to the exact line were the error had occurred... and I could fix the bug. I've been doing this for many years of course! (I'm NOT a newbie)

but in the past week, the debugger is not throwing errors any more! in some cases it does but on other runtime errors, it does not!

this is not happening on my computer only, it is happening on another computer we have here too! that is so weird and annoying! not being able to see error messages is silly.

My guess:

I don't know if this can be related or not, but the project we're working on is huge and there are a lot of .as classes to be compiled, maybe the debugger is giving up on this project because of it's size? maybe I should switch some of the classes into swc?

TOPICS
Performance issues

Views

312

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

runtime errors are not showing in debugger!

Participant ,
Oct 23, 2014

Copy link to clipboard

Copied

Hi,

I have recently faced a very strange problem. at first I thought maybe it's because of the new Air SDK 15 build 302 but after switching back to older SDK the problem is still there! any idea or hint about this would be great. just tell me the first thing that comes to your mind and I will search about it more...

the problem is that when I was testing my apps in debug mode (on Android or iOS) if there were a runtime error, the app used to stop and my IDE (I use FlashDevelop) could take me to the exact line were the error had occurred... and I could fix the bug. I've been doing this for many years of course! (I'm NOT a newbie)

but in the past week, the debugger is not throwing errors any more! in some cases it does but on other runtime errors, it does not!

this is not happening on my computer only, it is happening on another computer we have here too! that is so weird and annoying! not being able to see error messages is silly.

My guess:

I don't know if this can be related or not, but the project we're working on is huge and there are a lot of .as classes to be compiled, maybe the debugger is giving up on this project because of it's size? maybe I should switch some of the classes into swc?

TOPICS
Performance issues

Views

313

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 23, 2014 0
Participant ,
Oct 23, 2014

Copy link to clipboard

Copied

There may exist a file called "mm.cfg" on your pc. Search for this file and open it (Link below tells you where to look).

There are settings inside which may affect your debbuger ("ErrorReportingEnable").

Please check this page for further information:
Adobe Flex 4.6 * Editing the mm.cfg file

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 23, 2014 0
Participant ,
Oct 23, 2014

Copy link to clipboard

Copied

learning about that "mm.cfg" was cool but unfortunately none of the options it had could help me!

by the way, I converted almost 80% of my .as classes to .swc and ran the project... the compile time was greatly reduced (which is obvious) but the error message is not showing yet!

if I try to duplicate the same runtime error in another empty project, it does show up... it's just that it won't work in my main project...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 23, 2014 0
Participant ,
Oct 23, 2014

Copy link to clipboard

Copied

Sounds like the project somehow does not use the flash debug player but the standard flash player; I'm not familar with FlashDevelop but you should check if you are really using a debug player. You can do this programatically, too: flash.system.Capabilities.isDebugger

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 23, 2014 0
emstris LATEST
Participant ,
Oct 23, 2014

Copy link to clipboard

Copied

Thanks for your reply but nope, that's not the problem I do use the debugger and it does work fine. it's just that it does not throw all the errors! some errors will be simply ignored...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 23, 2014 0