houxq / flash-console

Automatically exported from code.google.com/p/flash-console
0 stars 0 forks source link

Error in Chrome browser #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. use console v2.5 beta 5 library
2. build flash project by FlashDevelop v3.3.2
3. open bin/index.html in Google Chrome browser v8.0.522.224 (built-in flash 
player version: 10.1.103.20)

And in the first time of use Cc function like Cc.info(), then flash player 
crashes. Can you fix it, please? Thanks a lot.

Original issue reported on code.google.com by sheng...@gmail.com on 23 Dec 2010 at 4:19

GoogleCodeExporter commented 8 years ago
Hi,

Do you get any crash error message from flash?
What type of information were you logging, does it always crash no matter what 
you log?
Console only use supported flash APIs, so shouldn't normally crash the browser. 
However I've not tested console using FlashDeveloped compile. I assumed it uses 
adobe's SDK.

Original comment by luay...@gmail.com on 24 Dec 2010 at 10:27

GoogleCodeExporter commented 8 years ago
Damn. I used the following code:

#  try {
#     throw new Error();
#  } catch (e:Error) {
#     trace(e.getStackTrace());
#  }

But there is no getStackTrace function in release version flash player, so 
flash player crashes.

Sorry my fault. 
Sorry!

Original comment by sheng...@gmail.com on 6 Jan 2011 at 8:34

GoogleCodeExporter commented 8 years ago
oh right. I thought e.getStackTrace() just returns a blank string in release 
version. Anyway good to hear you got it fixed :)

Original comment by luay...@gmail.com on 7 Jan 2011 at 1:14