Flash Builder 4 Debugger Variables Not Updating
Damndest thing. Every once in a while, I'll make a change to some part of my Flash application, while working in Flash Builder 4, and when I click Debug Play, it starts running with the old code and the old variables, even though the code I'm looking at in the code window is the new, changed code. I can still advance step by step, but the advances don't align with the new code. They seem to be aligning with the old, not visible code. I can eliminate variables entirely, save, build clean, and when I run, it still shows the old variables in the V开发者_StackOverflow中文版ariables window. As I can not find any mention of this on the Internet, I logically conclude that this is some ancient curse directed solely at me.
When this happens clear your browser's cache. Works every time for me. Frustrating, I know.
Is it the same with Run Mode? If so FB isnt building your app.
As Mentioned here... clean project in flash builder on debug launch
you can try Build Automatically/Manually
From Adobe Docs, if you have gone through this, please ignore.
http://help.adobe.com/en_US/flashbuilder/using/WS6f97d7caa66ef6eb1e63e3d11b6c4d0d21-7feb.html#WS6f97d7caa66ef6eb1e63e3d11b6c4d0d21-7e64
As a final try - remove your bin-debug folder and build the project.
I had exactly the same issue and fixed it.
There is a config screw up somewhere
- Copy/save your main src with all your code directory I used git but I would imagine you could just copy it locally.
- Delete the project entirely
- Make a new directory with the same project name in the same location using your OS or command line, do not do this in Flash Builder.
- Copy your saved src directory into this directory.
- In flash builder create a new project, but instead of using the default folder as the file location select your new directory.
- You should now have a fresh project with the same code as the old one but without the config screw up.
精彩评论