Somehow, debugging rascal in eclipse doesnt work for me.
I'm running rascal in eclipse Luna.
Everyting works, debug Start.rsc as application starts the rascal console in debug.
But clicking in the marging does not add a breakpoint no matter what.
Do I have to use a specific editor? (now using the java editor)
cheers, Ibanezje
The answer is: upgrade to Eclipse Mars.
Then with the 'impulse editor' you will be able to debug.
Related
I would like to open F# compiler solution (FSharp.sln) from https://github.com/fsharp/fsharp/ in an IDE on a mac, then make some changes and run the compiler or ideally step through the code.
I tried JetBrains Rider, but it gets stuck soon after opening the solution: "Initial file processing: prim-type-prelude.fs". Code completion is not available.
I also tried opening another solution from https://github.com/Microsoft/visualfsharp, but both Rider and Visual Studio For Mac crash almost immediately.
What's the best way of working on F# compiler source code on a Mac? Is this feasible only on Windows? I'm new to .net and F#.
Edit: I had much better luck with Windows and Visual Studio. Everything worked pretty much out of the box. I was able to run the project, debug selected test and make minor changes with code completion enabled. I might be missing something, but it seems like it's a much smoother experience on Windows than on a Mac.
First time user of Lua and installed version 5.3.5 then tried to install the IDE - ZeroBrane Studio.
Unfortunately when I start ZeroBrane Studio it says the following:
Failed to initialize editor
The lua511.dll could not be found or loaded, please check the working directory of the application.
There is something completely wrong, as there is no lua511.dll, only lua51.dll, and I can find no references to lua511.dll anywhere in the project or generated binary files.
If you are launching the IDE using zbstudio.exe, you can also try launching it using bin\lua src\main.lua command to see if it makes any difference. You can also try launching bin\lua to see if it launches (as it depends on the same lua51.dll library).
If you are launching it using a shortcut, then check its "Properties" and set "Start in" to the location where you installed the IDE (the location of zbstudio.exe file).
As my experience, I have never seen a lua511.dll and if it says that then there must be something wrong with your program.
There should only be a lua51.dll, although if you'd like, you can just rename it to lua511.dll but there should be a more professional fix towards it.
As this just may be a grammar issue, make sure your lua51.dll is actually there, or if it might be in the wrong directory. If it's in the right directory or if its there then do reinstall it with common troubleshooting tips.
In ruy on rails in order to debug the application you could just call, "debugger", and
it will start a debugger in the console. How is this approach possible in Grails? Especially in a .gsp file? I am using a simple text editor for my development, Sublime.
Thanks
Debugging java is simply not possible in Sublime.You can use another debugger like JDebugTools or a full-featured IDE like Eclipse or Netbeans (but that breaks the whole point to have a lightweight IDE like Sublime, which is great for Java, if not for debugging purpose)
There exists a command-line debugging tool, jdb which can be used for very simple debugging purposes, and may be integrated as a build tool for Sublime (I don't think the result will be good though)
Debugging for Grails is done with the --debug switch as for recent versions, you can then attach a debugger to the session. GSP debugging, like JSP, needs a specific tooling as to be aware of compilation means, and you'd better switch to IntelliJ Idea or [GGTS (Groovy/Grails Tool Suite)](http://spring.io/tools/ggts) which provide both strong debugging capabilities
So i've been using Rascal for a while now, but I was wondering if there is support debugging without using println and the terminal?
So like with c# in Visual Studio, stepping through the code, into functions and so on.
For me this would be a big help and can save time.
Just like visual studio, we have breakpoints and stepping through code. Since Rascal runs in eclipse, it might look slightly differently.
Remember to start your rascal console in debug mode, else it won't work.
You start it in debugging mode:
by selecting a .rsc file and right clicking Debug as > Rascal application.
or, if you select start console from a navigator or editor context-menu, it is a "Debug" console by default.
Adding breakpoints is done by clicking in the margin of an editor.
Any function you call from the console will activate the debug mode of Eclipse as soon as it hits the breakpoint.
Structured statements such as if and for act a little different in the debugger than what you might expect from Java or C#. Namely you have to "step into" them, otherwise if you press "step over" you will jump over their bodies.
I am just entered into the Blackberry Arena..
I am using Eclipse Plugin for running my testing application to simulator.
So, In my code somewhere I have add System.out.println("Print"); statements, but by debugging or running app to simulator, I couldn't find any log statements printed to eclipse console.
Is there anything that I need to take care for using println() methods ?
First it is not enough to "Run" your app, you have to "Debug" to see the output. Second you need to make sure your eclipse console is set to "BlackBerry Simulator Output Console".
Once you've done that you should be able to see a whole lot of log statements, most of them from BlackBerry but yours should be in there too.
Run it in debug mode in the BlackBerry simulator. It'll be there, unfortunately there will also be a ton of BlackBerry print statements mixed in.