Skip to main content
Participating Frequently
January 2, 2023
Question

Animate wont stop on my breakpoints - other debugging problems too

  • January 2, 2023
  • 2 replies
  • 118 views

I am having problems debugging a project that a year ago I had no problem debugging. It is a flash player project with many external .AS files.

 

Currently I am using Animate 22.0.5 build 191.  I am trying to debug this Adobe Flash project..  Under Publish Settings -> Flash .SWF -> advanced I have added the checkbox for "Permit Debugging"

 

When I set breakpoints in the main constructor in the .AS file, and then do Debug -> Debug to launch the project, Animate does not stop at the breakpoints. I have put trace() statements in the code just after the breakpoints, and trace statements are sending their messages to the log Output. 

 

Yesterday I was getting TypeError #1009 for null pointer access. Single stepping code would work. But a debug continue would not hit later breakpoints.

 

I thought last night I was getting some breakpoints to trigger. But I noticed that when I stepped into routines, then did continue, breakpoints at higher levels of the code were not hit.  Today, I cant get any breakpoints to trigger, except for null exception.

 

I also notice that a divide by zero I purposefully put in the code is being ignored, no exception generated, the trace statement just past the divide sends output to the log.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Community Expert
January 3, 2023

I was able to get it to work too. V23.0 mac os. 

kglad
Community Expert
Community Expert
January 2, 2023

works for me (v.23.0) (though when actually coding, i never use the debugger and never use breakpoints). 

 

i've always found permit debugging and the trace function is sufficient to debug every error i've created.