SapphireSteel Forum
Welcome, Guest. Please login or register.
June 19, 2013, 10:38:26 AM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Sapphire and Amethyst IDEs
3893 Posts in 803 Topics by 672 Members
Latest Member: davib
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Amethyst
| | |-+  debugger terminates unexpectedly
« previous next »
Pages: [1] Print
Author Topic: debugger terminates unexpectedly  (Read 1092 times)
Azeem
Newbie
*
Posts: 15


« on: March 13, 2011, 10:29:41 PM »

Hello,

I've a piece of code that causes the debugger (Cylon) to terminate consistently. I suspect it may have to do with the fact that the window is being reloaded. Please look into it and let me know if you need additional information. Here is the line of the code that causes the crash:

Code:
ExternalInterface.call("window.location.reload");

Regards,

Azeem
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1006


« Reply #1 on: March 14, 2011, 03:40:51 AM »

Hi,

I think this might be due to a Cylon problem in beta 7 which we've fixed in beta 8. I've just tried it with beta 8 and it seems to work ok - that is, it restarts the browser and the Cylon debugger exits normally.

Can you download beta 8 and see if that fixes the problem?

Dermot
Logged
Azeem
Newbie
*
Posts: 15


« Reply #2 on: March 14, 2011, 04:31:27 PM »

Hi,

I think this might be due to a Cylon problem in beta 7 which we've fixed in beta 8. I've just tried it with beta 8 and it seems to work ok - that is, it restarts the browser and the Cylon debugger exits normally.

Can you download beta 8 and see if that fixes the problem?

Dermot

Dermot,

Thank you for looking into it. I'll download beta 8 and try it. Although, is it possible for me to continue debugging after the ExternalInterface call? Based on your response, it looks like, it would now terminate normally instead of crashing. Ideally, I would like to be able to continue debugging after this. Anyway, I'll try Beta 8 and let you know how it works.

Thanks! - Azeem
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1006


« Reply #3 on: March 15, 2011, 03:21:38 AM »

I've looked at this again - I think it's normal behaviour. What you are doing is asking the *container* (I.E or FireFox or whatever) to reload. This causes the Flash Player to terminate and send an 'Exit' command to the debugger which does what it is supposed to do and terminates because th Flash Player that it debugging has terminated. So i don't think that there is any difference between beta 7 and beta 8 here.

Dermot
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!