As we know that there are two modes to execute javascript in firefox:interpreter and JIT.
My question is that whether I can disable JIT while building firefox in linux,and if so,how?
Any useful suggestion will be appreciated , thanks!
Using the --disable-methodjit configure option might work: SpiderMonkey supports it, but it's not obvious to me whether it'll propagate from the main build to the SpiderMonkey configure step.
Building Firefox without JIT is broken. Sources do not track ENABLE_JIT & friends carefully.
Related
I am using Lua 5.3, hosting it in a C++ application. The C++ application provides various functions to a running Lua script. I would like to allow users to debug their Lua, while it is running in my application. I believe this is possible, but I can not find any recent information on doing this, only for older versions of Lua and this does not seem to work.
Can anyone please help me to get debugging a Lua script running under my application up and running? Any help would be greatly appreciated.
Thank you!
The easiest way that I know of is to use ZeroBrane's remote debugging capabilities. Their document explains it pretty nicely, but for the sake of self-containment:
Set your embedded Lua's path/cpath to zerobrane's stuff, or copy the mobdebug.lua file to your sources.
Add require('mobdebug').start() to the beginning of your code
You should be able to debug now. After you start your program, breakpoints set in the Lua sources should get hit.
This approach works best if you use ZB to edit your Lua files, which implies using a different editor for the C++ part. I found this to work reasonably well in practice, though.
What is the best method of debugging go code in Windows?
https://stackoverflow.com/a/5514122/201618 states the GBD cannot be used as
Windows and ARM binaries do not contain DWARF debugging information and, as such, cannot be inspected with GDB.
https://stackoverflow.com/a/3405768/201618 implies that the best thing to do is just use fmt.Println
Is there a better current option? Is there a better planned future option?
In addition to GDB you can use Zeus. Also, take a look to comparison of IDEs for Google Go.
LiteIDE (https://github.com/visualfc/liteide) includes a build of GDB that works on Windows. When I experimented with Goclipse, I was able to point it to that GDB executable and debug applications just fine.
Delve supports windows and can be installed with the following command:
go get github.com/derekparker/delve/cmd/dlv
It has integration with code editors and IDEs such as VS code, Atom and IDEA. No Sublime Text support is available yet though!
This may be the wrong place...but since it's actually regarding a GUI toolkit I figured it might be appropriate here.
Anyways theres a Program (For anyones reference it's actually an automated modding thing for a game called Morrowind). Anyways it has a nice clean GUI layout, it's for Windows. And basically im trying to find out just what toolkit was used.
I've tried contacting the author, and I haven't seen anything about what was used mentioned anywhere. Is there any chance I could find out someway which toolkit was used in making this Program?
Or is that technically private information?
If the program runs on MS-Windows, Dependency Walker allows you to find out which libraries the program requires. The required libraries might give you a hint about which GUI toolkit was used.
On other platforms, ldd is often available and gives you similar information.
This only works if the GUI toolkit is dynamically linked.
I want to compile a portable version of Firefox 3 on a low cost Intel Celeron Windows Xp machine to run as a kiosk computer. So i just want the browsing functionality since i'll be running it on the fullscreen mode. What are the steps to do a minimal rebuild from the sources?
Also what is firefox's command line parameters to open a site from the cmd?
A "Stripped down minimal build" doesn't really make any sense. You can't really exclude any functionality that would make it run faster or be any smaller, since most of the code that Firefox needs to render webpages is the same code that it uses to render its user interface. Forget about trying to "strip down" the code.
That being said, it sounds like you probably want to use XULRunner, which will let you use all the web browsing functionality of Firefox, but wrap it in your own GUI. You can find an ultra-minimalist browser XUL application here:
http://benjamin.smedbergs.us/xulrunner/mybrowser-0.2.2.xulapp
There is a Kiosk mode addon (more for a lock-down) for Firefox.
You may be in general interested in this other question here:
How to lock down Windows XP for use as an internet kiosk?
Here is a gHacks reference for custom builds.
and, a Prism reference.
http://webconverger.com/ provides a minimalistic OS build featuring Firefox. There is also build instructions if you want to build your own customised images.
I'm working with a VB6 code base and I'm interested in beginning to generate documentation for future development efforts. I'm traditionally a Java developer and I've gotten quite used to the Javadoc system for generating such documentation. I found VB.DOC but from what I can see it's meant for a .NET environment. Are there any that will work in VB6?
Thanks in advance!
There are a few filters that will allow you to use Doxygen with VB6.
I had some good time with VbDox.
I used Document! X version 4, but I have to say it was not the most stable program to use and sometimes caused crashes in the IDE. Perhaps later versions have improved; they still seem to support VB 5&6.