Flex Builder debugger breakpoint folows wrong lines
this morning i start seing strange things happening with
flexbuilder, first it seeme that it was entering code that was
physically impossible; things like entering "if" clause and then
immediately entering " else " clause, finally i realized debugger
was showing lines when in reality it was executing lines that were
about 2-3 lines above what it was showing with breakpoint , I am
blaming this to flash player 10 debug version, maybe because its
still new there is bug ?
I hate to uninstall it and reinstall version 9, maybe there
is workaround to fix it.?
yeah I implied that, I did clean, I did manual clean I did
every possible option, then I uninstalled f player 10 debug and
reinstalled f player 9 debug, and while doing that discovered
another little bug in FB3 that could contribute to this issue ,
case is following :
I imported a flex project from my old machine where output
folder was /a/b/c
in my new PC output folder is /dev/a/b/c
so I went in project properties and adjusted output folder to
point to correct directory /dev/a/b/c but what flexbuilder is doing
is, it does not update all property files that have this path so
after you build the project, half of the assets go to new directory
/dev/a/b/c and half goes to old directory, /a/b/c, whats even
stranger is that if you close flex builder and reopen it, project
output folder gets reset back to point to old /a/b/c folder,
anyways I finally fixed it by manually modifying
.actionScriptproperties and .project files restarted FB cleaned
output folder,and then rebuild it, but now I am not sure did these
steps fix the issue or the flashplayer downgrade, or maybe both?
because I had to do these steps yesterday as well, and then
it was building correctly whole afternoon into new output folder,
but today it started it again, finaly I obliterated the existence
of /a/b/c path completely.
Similar Messages
-
Debugger stops in wrong lines in Sun Studio 8
Hallo,
I'm trying to use Java Studio Enterprise 8 in Suse 9 and couldn't understand why debugger is showing wrong lines in standart editor. Project rebuilding doesn't help.
RaitisThere was a bug filed for this issue (http://www.netbeans.org/issues/show_bug.cgi?id=46621) but that was fixed in nb4 and hence should be fixed in jse8 (based on nb41); unless the fix, for some reason, does not work on suse.
- Does 'Clean and Build' project help?
- Does restarting the ide help? Or do you see the issue even after the ide is stopped and restarted? -
Flex Builder, debugger and web application: how?
Hello,
I'm traying to setup a project in eclipse with both a java
web application (servlets, jsp) and flex applications as a
frontend. So I installed flex builder as a plugin on an eclipse+web
standard tools, then created a WST web application project, and
used the "Add flex nature.." of the flex plugin. I don't want to
use the flex data services.
Now, in a standard run (I installed a tomcat 5.5 and
configured it in eclipse), my mxlm files are being correctly
compiled into swf, and they are successfully calling my servlets
(which simulates a backend xml-based interface).
I'm having problems in debug: if I launch the debug profile
related to tomcat, the normal version of the sfw will be used (even
manually switching to the "-debug" version, it says that a running
flex debugger has not be found on localhost). On the other way, if
I launch the debug as a "flex application", it seems to work (it
stops at breakpoints) but my tomcat is not started at all, the swf
is accessed as a local file and all call to my servlet will fail..
so it will stop working almost immediately.
There is a way to setup eclipse to start standard java
debugging with tomcat *and* the flex debugger?
Thanks
CosmaI found a workaround of sorts for the problem: don't
terminate the applications!
Previously, I would terminate the application using either
the Terminate button in the Debug view or by closing the tab in the
browser (Firefox). Now I just let them pile up in the browser and I
rarely see this problem.
In other words, I was having lots of trouble when doing
Launch-Terminate-Launch-Terminate... but now I just
Launch-Launch-Launch... and clean up once in a while. -
Does Flex Builder scale?
Has anyone had success building large ActionScript projects
in Flex Builder? Say 20,000 lines of ActionScript. Or is that not
the way Flex is typically meant to be used? Thanks.I haven't tried Flex 3, but I noticed the AIR beta wouldn't
install on Win2K. The Apollo Alpha did. I think it was the new
installer for the beta that gave the problem. -
Error in "Run FlexPMD" in "Flex Builder 3"
I got the following error in my Flex Builder 3
Error: FlexPMD command line reference preference is missing
Can any one please help me in solving this error ..
with regards
adityaCheck out the instructions here:
http://opensource.adobe.com/wiki/display/flexpmd/FlexPMDEclipseplugin -
Debugger shows wrong line numbers in local file
I'm using the debugger in Safari 5 for a web app that is entirely made up of local files (it's actually a dashboard widget). For most files it's fine, but there are a few where there appears to be a skew between the actual line number and the line number displayed by Safari. As a result, some errors are displayed with the wrong line number (e.g. "Syntax error on line 5" when the actual line is 2). More troublingly, if I place a breakpoint in a file, it acts as if it is on the wrong line so when I step through the code the current line is actually different from the one displayed by the debugger.
The weird thing is that the line numbers displayed in the script panel are all correct, so line 47 really says "47" in the left margin, but Safari still thinks that it is line 44. In general, the skew seems to be constant and equal to -3, so the real current line when debugging is 3 lines higher than the one displayed as the current line in the debugger.This looks to me like a Safari bug. I did some experimentation, and it appears to be caused by the use of the newer getter syntax in an object prototype. When I do this the debugger seems to set breakpoints at the wrong lines as described in my previous post:
function foo() {
foo.prototype = {
get bar() {
do_it: function() {
var baz = 1;
var obj = new foo();
obj.do_it();
If remove the definition of the bar getter or change it to use the older __defineGetter__ syntax then the problem goes away. -
Flex Builder 3 Debugger hanging unit tests
If I try to run my Unit Tests in debug mode from Flex Builder 3, FF and IE just hang until I cancel the debugger. Is this expected?
Nope. I developed the whole core in debug mode of Flex Builder 3, so I know it works there.
Mike -
Flex Builder 3 will not work on Mac
Flex Builder 3 & Mac OSX:
The hard disk on my mac failed, lost everything, including
Flex Builder 2. I installed a new hard disk, and downloaded the
"trial" of Flex Builder 3 (FB 3). The software seemed to install
fine(no errors in the install log).
However, when I run FB 3, the default front page does not
load, and tells me that the flash player as stopped because of a
un-safe operation. I think okay, that is fine, but I do like the
page with the links to the docs, and adobe resources. I try to
build an app, default just dragged a button on the stage, and
complied. However, the page does not compile. I only get the "grey"
page, with no button.
After this I re-installed the flash player (9.0.115), but
still no love. I have re-installed FB 3, but the same results.
I am using Mac OS X (power PC). Can anybody help me. I am a
student at the University of Hawaii, and I am teaching myself Flex.
I am thinking that the error might be with the flash player, and I
am trying to install flash CS3, thinking that if I can get the
stand alone flash player that way, maybe then this will work.
Please help,
JohnHi Michael,
Thanks so much for all your help!
I just installed FB 3 again, but still no love, yikes! I
don't get it FB 2 was painless,...
I have the same issues, and safari does not handle any flex
apps, just a blank(grey page). Can I ask a favor? Can you check
this link, a flex charting app. It can view it perfectly in Camino,
but just a blank page in safari. Could you check this link in
safari?
http://cfhawaii.com/Charts/DrillDownWithEffects.html
I also still get the can't find the debugger player.
Maybe I need to take a on-line course(bring that I am in
hawaii) to learn how to get everything set up.
I send a bug report to adobe, and I am hoping that somebody
gets back to me, and can help me fix the problems, as I couldn't
even registrar FB3, I want to start learning flex, not dealing with
this.
Thanks so much for all your help`-`
John -
Flex Builder 3 Beta 3 Debugging not working with latest Flash Player Debug
First to emphasize that never had such issues with Flex
Builder 2 Beta 2 and Flash Player 9.0.47 Debug version.
I downloaded Flex Builder 3 Beta 3 and installed it. Then
trying to debug any Flex app (old or newly created) does not work.
I don’t get any errors, but after some research I saw
it’s nagging up on trying to connect to the Flash Player
debug version.
1. Uninstalled old versions of Flash Player (FP).
2. Downloaded latest debug version of FP 9 (9.0.115) and
installed it both for IE and Opera (Netscape-compatible).
3. Installed Flex Builder 3 Beta 3.
4. Created a simple Flex app.
5. Ran it in debug mode.
6. Showed a small window with title “Progress
Information” and a progress + text: Waiting for Flash Player
to connect to debugger…
7. Two minutes later I got the error: “Failed to
connect; session timed out. Ensure that: 1. You compiled your Flash
application with debugging on. 2. You are running the debugger
version of Flash Player.”
Any idea what is wrong? I tried to download an older debug
version but then FB 3 Beta 3 raises the error it’s expecting
version 9.0.115. I searched to download FB3 Beta 2 (because I
deleted it after downloading Beta 3) but unfortunately Adobe did
their best to wipe it out from their links.
Any help is welcome.
System Specs:
Windows Vista Ultimate
Flex Builder 3 Beta 3 Standalone
JRE 1.6 Update 3
-DimitarHi Dimitar,
Did you close all the browsers (and applications which use
Flash Player) when you install Flex Builder 3 Beta 3 or Flash
Player? You can try manually installing it from <FB install
location>/player/ directory. Here're some
installation/unintallation instructions of Flash Player:
http://labs.adobe.com/wiki/index.php/Flex_3:Release_Notes#Installing_Flex_SDK_3_Beta_3
thanks,
Sharon -
I am having problems with Flex builder 3 not building
correctly.
It does incremental builds - to reduce compilation time on
individual changes I assume - but quite often gets it wrong and
produces a whole stack of invalid errors.
I've tried the build clean function but that doesn't seem to
actually perform a full build clean. It only resolves these issues
some of the time. I can mess around with the code - deleting and
then un-deleting lines that are throwing up errors, or sometimes
renaming the main style sheet - which usually fixes it. But this is
a constant drain on my productivity and sometimes no amount of
messing around will help. In those cases only exporting the entire
code base and creating a new project resolves the issue. (I would
guess because this forces a completely clean build)
Does anyone know of a way to either eliminate this problem
alltogether or failing that perform a full clean build through the
builder.
I'm guessing a customised any build script may be the
solution, but I've never created one of these.jfb, I tried all that but to no avail.
Devtron, am not using SVN ! I'm using the Flex Builder standalone version.
Thanks guys for your replies. I just ran out of patience and just started working with FB4 and all is going great !
Thanks again -
Flex Builder 3 Eclipse Pluginのダウンロードができません。サポートが終了したのでしょか?
I'm not quite sure what has gone wrong here, but can you
please try launching with the "-clean" command line option? E.g.
from the command line:
eclipse -clean
or
flexbuilder -clean
Some background, in case it helps: Although I don't know why
this has happened, it appears that a DLL is missing. Almost all of
Flex Builder is written in Java, but there are a few bits of native
code. In your "plugins" directory (e.g. "C:\Program
Files\Adobe\Flex Builder 3\plugins", or ""C:\Program
Files\Adobe\Flex Builder 3 Plug-in\eclipse\plugins", something like
that) should be either a file or a directory called
com.adobe.flexbuilder.utils.osnative_3.0.*.jar (where "*" is a
six-digit number). Inside that jar file, among other things, should
be a file called os/win32/x86/JNIToNativeBridge.dll. Please note,
there are two plugins with similar names:
com.adobe.flexbuilder.utils.osnative, and
com.adobe.flexbuilder.utils.osnative.win. The one I am referring to
here is the one that does *not* have "win" in the name.
Eclipse caches lots of stuff; one thing it does is, if it
finds a DLL in a plugin, it sometimes copies that DLL to another
place, called the configuration directory. The "-clean" option
tells Eclipse to discard its cache.
Please let me know whether this resolves the problem. -
Hi,
I'm working on an application which uses old Flex 3.4 (used for Adobe LiveCycle). This SDK already contains fiber.swc and playerfds.swc so I removed them from Flex Build Path. But if I reopen the project, the removed lines are there again.
So whats wrong? Bug? This is a serious issue for me since some classes from newer fiber.swc is not backwards compatible to version 3.4.
I'm using Flash Builder Premium 4.7. It would be great if I could solve that because I have to remove these paths everytime I open the project.
cu FlohFew things I've discovered that might be able to help you.
Make sure you download both the newest version of the playerglobal.swc (for flash player 10.1), and replace it either in your SDK files, or have it in a library (in Flex 3 you need to disable the older playerglobal, I'm not sure about FB 4)
Use the newest OSMF.swc available from the OSMF downloads page.
Make sure you have the compile settings for OSMF set up in your compile line (mangle for FB4 if needed):-define CONFIG::LOGGING false -define CONFIG::DEBUG false -define CONFIG::FLASH_10_1 true
I've been able to compile flex projects using OSMF doing these steps.
Hope this helps.
-Will -
Flex Builder 3....Not launching?
Whenever I press F11 to launch my flex/air project it does not launch. The red square shows up in flex builder and flex builder seems to think it is open but there is nothing there. Also if I check my system processes, it says that adl is running, and it also says that javaw.exe is running at 50%. (I believe javaw.exe is flex builder as flex builder closes if I end that process.)
Any ideas?
Thanks.Hi Michael,
Thanks so much for all your help!
I just installed FB 3 again, but still no love, yikes! I
don't get it FB 2 was painless,...
I have the same issues, and safari does not handle any flex
apps, just a blank(grey page). Can I ask a favor? Can you check
this link, a flex charting app. It can view it perfectly in Camino,
but just a blank page in safari. Could you check this link in
safari?
http://cfhawaii.com/Charts/DrillDownWithEffects.html
I also still get the can't find the debugger player.
Maybe I need to take a on-line course(bring that I am in
hawaii) to learn how to get everything set up.
I send a bug report to adobe, and I am hoping that somebody
gets back to me, and can help me fix the problems, as I couldn't
even registrar FB3, I want to start learning flex, not dealing with
this.
Thanks so much for all your help`-`
John -
Flex Builder 3 error: This file cannot be launched
All of a sudden when I try to run my app from within Flex
Builder 3, I get a popup that says:
This file cannot be launched. I right click on my mxml file
and the option to set it as default is greyed out.
How can I make this error go away?
ThanksI've filed a number of bugs about a lot of things :P
Part of the problem for me is that I am using Vista x64 and
there are known issues with Eclipse 3.3 and the Logitech SetPoint
drivers on that OS. Basically, in FB3 I get corrupted Property
Dialogs and Preferences (can't change key binds, or set compiler
config, etc.). It does work in Eclipse 3.4M4 with the plugin, but
then Design Mode doesn't work properly (images and style are
wrong), and that is unsupported by Adobe. So basically I switch
back and forth between the two whenever I need to access the
dialogs lol. Given that kind of situation, it is difficult to know
what is a propblem with my specific config, and what is a bug.
Generally one of the things I see is my embedded fonts start
showing up as errors when I hit compile, then I have to do a clean
build. CSS errors/warnings show up in the main mxml file instead of
the CSS file (at the CSS file's line numbers).
I've also seen issues where modules aren't saved to the
properties files properly. Lack of conditional compilation support
(debug versus release at the bare minimum) in FB3 is annoying
(though you can do it with ANT). -
Flex Builder 3 and Employee Directory Sample App
Ok, please be paitent with me. Just starting out with Flex Builder 3 and Flash Builder 4.
I have installed Flex Builder 3 and imported the Employee Directory application sample, but I cannot get it to run, nor debug.
I'm on a Mac Pro and I have not done any other configuration to the Flex Builder 3 installation, yet.
In order to get the Employee Directory app to run, can someone give me some assistance as to what I need to do in order to get it running within the development environment.
Any assistance will be greatly appreciated.
Regards,
JeffNo errors, it just will not run.
I loaded the employeedirectory.mxml into the editor and simply tried to run it. The Eclipse editor / employeedirectory canvas blinks, but doesn't execute.
In addition, when I set a breakpoint and try to debug, I get the following error:
Process terminated without establishing connection to debugger.
Command:
"/Applications/Adobe Flex Builder 3/sdks/3.2.0/bin/adl" -runtime "/Applications/Adobe Flex Builder 3/sdks/3.2.0/runtimes/air/mac" "/Users/Jeff/Documents/Flex Builder 3/employeedirectory/bin-debug/employeedirectory-app.xml" "/Users/Jeff/Documents/Flex Builder 3/employeedirectory/bin-debug"
Output from command:
error while loading initial content
Thanks for the reply... hopefully it's a simple configuration issue.
Update: I created a blank application with no control, notta and it ran fine, i.e. loaded up into Firefox with a blank canvas.
Maybe you are looking for
-
Word 2007 will not shutdown properly
I am using an HP D7460 as a wireless printer. Everytime I close Word 2007 it will close then restart with an error message that Word didn't shutdown properly and will reopen. I send an error message to Microsoft who then says the error is created by
-
Increase the number of background work processes for data load performance
Hi all, There are 10 available background work processes in the BW system. We're doing some mass load to multiple ODS.But system uses only 3 background processes. How can i increase the number of used background work processes for new data load. I tr
-
Using DAQmx functions without installation
Good evening everybody, I have an instrumentation problem linked to DAQmx. I would like to communicate with an instrument using NIDAQmx tasks. I use an environment program system : visual studio 2003. At the end, I want to produce a dll. This dll, I
-
Mac os x 10.9.5 home folder, library, Kindle content
Hi, I'd like to be able to see my home folder. My library. And my Kindle Content. In Finder. Not an expert in anyway, and what I thought should be done isn't working. Rasmus
-
Hi, it's my first post I installed java, I followed the instructions in web page oracle Oracle SQL Developer for Linux and Unix To install and run: - Ensure you have a JDK 1.5 installed, if not, download here (click 'Download JDK 5.0 Update 6') - Dow