I'm using Galen Framework for Web layout checking in my projects.
The problem is that I have a large amount of HTMl objects and layout rules defined in Galen specification, and somehow at runtime some of them are not discoverable.
It causes Galen run very slow to complete the test.
How can we cancel/interrupt the test while it's still running?
If you are using Terminal / Command Prompt to run the test then
Ctrl + C (Cmd + C in mac) is the standard way to terminate a process
on the fly.
Related
i'm trying to create J2ME app with J2ME sdk 3.0 with command line and i'm confused on how to compile and preverify my source code.can anyone show me how to please ?
Pretty much all IDE's allow you to run and compile the code inside them, rather than having a separate pipeline to edit the text files, compile them and run them.
For example, in IDEA you have a "Run" menu that you can use to access all those functionalities.
I suggest that, especially if you are inexperienced, you switch from a "manual" process using separate tools (text editor, compiler, runner) to a more unified one, that will sort out most of the details for you letting you focus on the writing of the code / logic.
I know that for css, html, and gsp files you can just refresh the browser without having to rebuild the application in order to see your updated changes. If you're stepping through code in debug mode, and make a change for a groovy or class file, do you have to rebuild the application in order to see the change?
IntelliJ does not update the classes in your running application automatically. You need to compile them manually (this will not be a full project rebuild - IntelliJ will build the project incrementally and compile only the changed classes and the code that depends on them), and then IntelliJ will offer you to reload the changes (which may fail if the changes you made aren't supported by the Java hotswap).
Note that some Web frameworks may be able to reload the changed classes automatically, independently of whether you're running your code from IntelliJ or not.
Say you're stopped on a break point, and want to edit the source code of the method you're in. Make the edit, save it, then run > Reload Changed Classes. Then, in the debugger controls, Drop Frame. Without dropping the frame, you won't execute the your newly recompiled method body.
By default, there's no keybindings for these 2 commands, but you can create them via the KeyMap in the settings (ctrl + alt + s). Even better, you can make a macro that will execute both these commands for you.
I wish it was easier and automatic, like in eclipse, but oh well.
I'm writing a rather complex editor with a huge number of keyboard shortcuts (or "hotkeys"), using standard Qt's way like QShortcut/QKeySequence. I have no prob with all this until the recent time.
For the QTabWidget easy tab switching i used documentation-recommended Alt- shortcuts, adding &-symbol to the tab's title text.But under Windows 7/Linux + Gnome 3 this way works well, and under Linux + KDE/Unity - it doesn't.I'm assume the problem is somethere in the X11 desktop environment shortcut handling mechanics. Maybe it handle Alt+ sequences itself and don't pass to the clients, for example.
Can i debug such situations in the clear way? Debugging the KDE code, for example, is too time-consuming :( Understand ALL Linux DEs shortcut code... the mission is completely impossible.
Or maybe i'm just using invalid way to write a really crossplatform Qt application?Or, the third option - i'm just catched a bug :)
This problem occurs due to Qt bug: https://bugreports.qt-project.org/browse/QTBUG-32908
I have situation that I'm calling mplayer every x minutes from xulrunner application and it always gets focus and comes on top, in front of other windows. But I need it to be behind xulrunner which has transparent box in which video should be visible.
Is there some way to force new process (mplayer) to be behind oldier process (xulrunner) and not to get autofocus on it?
Is it a Linux window manager level or there's some property in xulrunner or mplayer? (I'm using Fedora 18 with Openbox)
A solution can be achieved using devilspie. This tool allows you to customize many properties of application's windows including their focus, decoration, placement, and geometry. There is a handy frontend for it called gdevilspie, though there are no rpms available so it must be installed from source.
You can set devilsiie to match on all mplayer windows and set their action to "below" which will place them below all normal windows. Unfortunately this will apply to all invocations of mplayer, so this solution may be annoying if you use mplayer under other circumstances.
I have Debian 2.6 running on a SBC that I plan on using in an embedded setup. What I need to do is configure it so that linux will start up and run just my Qt GUI application. Do I need a window manager to do this or can I just do it with X11. Also because it is going to be for an embedded system I do not want to load any desktop manager. Any info on how this can be done would be great!
Yes you can do this without a window manager.
first: You need to boot into a non X session, init level 1 or 3.
second: You need to start the X server, in a basic mode by just calling X or xinit.
third: Start your app. You may need to take a little more control over where your app is positioned on the screen and its dimensions in your code, as you will not have a window manager to help with this.
alternatively: you can launch one of the more basic window managers to see how they play with your system. Motif Window Manager (mwm) and Tab Window Manager (twm)
Note: While working without a window manager, you may get into a state where you cannot do some very basic operations (ex: close a window, move a window, resize a window). You may find that you cannot survive without at least some of the more basic window management functions. Until you close the loop on this, remember, Ctrl + Alt + Backspace will kill the XServer.
If you want to start your app just with X11, you need do:
copy file /etc/X11/xinit/xinitrc to ~/.xinitrc
write all you want to run to it
run command startx
It worked for me and I hope it will help you