Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all articles
Browse latest Browse all 24121

Debug session terminated.

$
0
0

Hello everyone,

 

Does anyone have any general idea on what can cause the debug session to terminate?

I am debugging via usb in flash cs5.5 and it seems to "Debug session terminated"  within 30 to 45 seconds of playing my game.

 

The game works fine though.

 

I feel like its some error or mistake i could be causing, perhaps it terminates instead of reading it out to me?

 

I made a new test file with just a trace statement and that does not terminate.

In the test file I am able to perposely call null objects and throw errors, it reads the errors as expected and does not terminate.

 

The only google search i found was this

http://forums.adobe.com/thread/832983?tstart=1

 

"The solution to this problem is you must take your bitmap and remove its bitmapData with the dispose method when you are not using it..."

 

The only thing i am disposing in the first minute is an intro screen bitmap, but i am disposing of it properly as the poster suggested. Assuming this can be related to memory, i leave the into graphic up on the screen visible during the game, and it still eventually terminates anyway. So nothing should be changing related to memory or GC at the seemingly random time of termination.

 

so before i go crazy... anyone know of other circumstances which could cause the debug session to terminate?

I will mention the game uses GPU mode and is heavy on memory! but it plays very nice and smooth.


Viewing all articles
Browse latest Browse all 24121

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>