How to edit code while debugging is happening in Eclipse? - eclipse

Im using Eclipse Luna.
I want to edit some code in the middle while i debug the code. That is, I connected to a server and try to debug code,So at some point i want to edit the code make it to run.
Is that possible in Eclipse? I think this can be done in IDEA..Not sure how can i do that in eclipse?

You can definitely edit the code while debugging, although that would not have any effects on the currently debugged process. You have to relaunch the debug process to see the effects.

Related

Eclipse cdt debugger only step through dessembly code and not my own

Recently I asked a question and one of the guys here really tore into me about not using a debugger. Someone else was nice and suggested Visual Studio C++. I have been trying to work with it and it was really nice until I tried more complex code.
So I decided to try eclipse since that is the IDE I prefer. I got through the missing .gde file problem.
Now the debugger opens but It is only debugging assembly code files. This does me no good if it is not stepping through my own code.
It does not even get to my breakpoints or my code.
It don't help me to step through code I didn't write.
I really hope someone can help with this.
So the question is simple :
How to get Eclipse CDT to Debug my code I write and to stop and recognize breakpoints???
Below pic is what I am getting.
I finally just went with Visual studio, not my choice but it work better than the others for a debugger.

Is there anyway for netbeans to warn you with audio when it finishes the debug/Clean&Build?

The project i am working on is pretty big, with each Clean&Build and debug taking a lot of time, is there any way to netbeans to make any kind of sound or pop up, saying that the debug is finished? or the clean&build?
The current version of netbeans i have is 8.1. I appreciate if anyone knows
Not exactly what you are searching but there is a plugin for making sounds when a certain breakpoint is hit: http://plugins.netbeans.org/plugin/56682/beep
Maybe this is already sufficient for you.
Else writing your own plugin shouldn't be that hard.

Symfony cache eclipse xDebug

I have a really frustrating problem with eclipse PDT. When I am debugging I am getting exceptions all the time(which should not be there) I suspect the eclipse cached some of the files and this is the reason why I am getting those exceptions. I am sure that the code is correct at least where eclipse is throwing the exceptions since when I look at the code in NetBeans I can step over it without getting any exceptions whatsoever. There's a checkbox for symfony in NetBeans which can ignore the symfony cache and I guess that's why I am able to debug in there. However I very much like eclipse and I'd like to use it as a debuging and coding tool.
P.S.
I have cleared the symfony cached via cmd and tried again but I had no luck.
I am open to any suggestions that'd fix my issue, thanks!
P.S.2
I am using ecliplse luna and symfony 1.2
I know that it is too late, but I am posting the answer for any who might still struggle with this issue. The problem in my case was that in the debug view in eclipse I have had some variables that could not be resolved in the context when I was debugging (for example old variables that I have watched in other debug sessions). And when they were miscalculated eclipse's debugger had stopped responding. So if you have a similar problem my suggestion would be: first clear all previous variables from the debug view.

Why sometimes no detail info when debugging java code on eclipse?

Sometimes when I debug in eclipse, move the mouse on the parameter, no debug info like value and something else displayed but description of the parameter like the pic follow:
Sample is the aspectJ .aj source code I debugged.
Anyone can tell me why sometimes no detail info and how to fix it?
This could be an AspectJ specific issue: try installing the AspectJ Development Tools for Eclipse and see if that helps.
I think I found the solution. Whenever you run into this issue, Go to debug perspective. You will see thread will selected as parent process. Change the thread selection. Assign it to the thread which says Suspended as has your breakpoint line number. By doing you will get back all your debug values and debug commands like step into , step over etc.

How do I configure Firebug to use Eclipse/Netbeans as editor

I want to use a real IDE for editing javascript files in combination with Firebug. In the 'Add editor' dialog for Firebug I'm allowed to specify executable and arguments. So the question is really how do I open a file in Eclipse/Netbeans from the command line.
Extra points for allowing me to choose between opening a new Eclipse/netbeans instance and reusing an already running one.
Not an exact answer I'm afraid, but this information might help.
Eclipse Help - Running Eclipse
Fireclipse: Debug from FF straight into Eclipse
I havent tried this yet but looks interesting Javascript Debug Toolkit 2.0.0
Also I have heard that aptana is pretty good
Ever though about the other way round? That means to start eclipse, start there a debug session with Firebug included?
If that could be an answer, see the explanation under Installing the JavaScript degbugger for the Aptana Studio. There is an option to install Aptana inside eclipse instead of loading the whole thing.
Caveat: I have never tried that, but I use currently Aptana for programming Rails, perhaps I will use that in the near future.