Multithreaded debugger for Eclipse - multithreading

Is there any multithreaded debugging option in Eclipse so that I can see the breakpoints of all threads when the event occurs.
If not is there any multithreaded debugging tool?
Thanks

Click on your breakpoint in the Breakpoints view, select "suspend VM" from the menu. When that's hit the whole VM will suspend, not just the thread.

About downvotes:
Before you downvote that answer, let me clarify that I was replying to a question related to Eclipse + EPIC and multi-threaded debugging. With the time they decided to rephrase the question and my answer, that was correct, got out of context! So watch out from the policies of this site!
UDPATE: Finally solved :)
I'll get back to you as soon as I get something else in this topic.
Sorry to say, currently EPIC doesn't suport multithreaded programs. It's stated in their user guide, unless there's anything new that's the official statment.
EPIC does not currently include support for debugging multi-threaded programs.
Here you have the reference
The alternative, Padre I have no experience, but you may want to give a try.
UPDATE:
I know is an older post, but is worth for any future problems. I found the way to debug perl programs with threads.
In my case,
Eclipse 3.7
EPIC Plugin 0.6.42
ActivePerl 5.14.2 Build 1402 (64bits)
We are not yet there, the ActivePerl requires a trick.
Following the instructions of this bug.
One of the comments mention to replace in Cwd.pm module the single commas with curly brackets ... more precisely
In C:\Perl64\lib\Cwd.pm
the line 758 has the following code
if (eval 'defined &DynaLoader::boot_DynaLoader') {
just replace it with the following
if (eval { defined &DynaLoader::boot_DynaLoader; }) {
In my case I can debug multithreaded perl scripts and break inside the thread even with detach.
Hope it helps, happy debugging.

Related

Awesome WM help popup messed up (possible soluction with new function)

NOTE: I just started to use awesome not very long ago, and don't really know the lua programming language.
I cloned HikariKnight's awesome theme and started to customize the hotkeys. I have a logitech keyboard that has some launcher keys that will open you default apps (on windows that is). I wanted to make them open the default apps here, so I edited the config. Now the help menu has the name of some of the keys repeated over and over for no apparent reason.
If anyone could help me fix this that would be awesome.
Possible Solution(?)
I might be able to use the new function to use the hide_without_description option. This wouldn't be ideal though as it would just remove the hotkey from the help menu.
I found the documentation for it here, but don't know how to use the new function.
https://www.reddit.com/r/awesomewm/comments/mgqq95/messed_up_help_menu/gszd5u0/?utm_source=reddit&utm_medium=web2x&context=3
To quote PlatformKnuckles:
I think I see the problem. Check the line in the keybindings file:
for i = 1, 9 do
You're starting the keybindings in a loop multiple times.
(I didn't look at your rc.lua at all. I just assume the answer above is correct.)

Vim code debugger suggestions (step through etc)

I'm a fairly new web developer, doing most of my work in JavaScript / CSS, but I will be doing work in PHP soon and I wanted to get a head start on debugging software.
My editor of choice is Vim, so I'm looking for suggestions for a debugger workflow, either a Vim plugin or a separate program, preferably something that could match the feature set of Eclipse or Visual Studio, but if that doesn't exist I'd like to know.
I found several Vim plugins online:
- VimDebug looks nice but only supports Python, Perl and Ruby.
- vdb looks promising but also confusing (at least to me)
- VimDebugger is in early stages
I also found gdb, which was the only non-IDE debugging tool I found (if anyone has found others I'd love to hear about them!), as well as vim-debug, although development seems to have stalled on that one.
In short, does anyone have any working experience with the above tools? Or have a better suggestion? Does anyone have a working workflow debugging code with Vim?
Thanks so much in advance!
There is also the relatively new and actively developed Vdebug:
https://github.com/joonty/vdebug
It talks to debuggers supporting the DBGp protocol (which includes PHP with Xdebug and also many other dynamic languages).

Dreamweaver vs aptana studio (for those who don't know coding)?

I am a web designer and developer but I don't know any scripting language. And I am looking for a robust web development WYSIWYG like software that can write code for me automatically in javascript and php.
Id go with dreamweaver because is has the design view as well as the code view. Aptana is more for developers rather than designers and developers. Dreamweaver will write some code for you (and you'll find out later that its crap!) so it'll get you used to the languages.
I used to work in Dreamweaver when I first started but now I can't get enough of Aptana.
WYSIWYG will only generate HTML page and a little JS at best. You need to know coding to offer interactive functionality.
You'll hate this answer but take some time to learn PHP and JavaScript - I stated off as a designer and tried to avoid code. Then instead of copying and pasting code hoping that it works I got to grips with the fundamentals of both languages and realised how easy it is and how there was nothing to fear.
Good resources are w3schools.com, stackoverflow (obviously) and my fav JavaScript books are DOM scripting by Jeremy Keith and Jeffrey Sambells and once you feel confident to learn some of the more advanced features of JavaScript, JavaScript Patterns by Stoyan Stefanov was helpful to me.
Like I say this doesn't actually answer your question. However Dreamweaver automatically produced a 700 line JS file for an interface action I wanted, using the resources above I did the same in an unobtrusive manner with 16 lines of code!
I realize this is an old thread but im sure the debate still rages on LOL... i've been a devote DW user for many many many years (Like since 2000 or so). I am a coder/developer... I never use DW auto complete or anything like that. Primarily the reason i've stuck with it is because my FTP is RIGHT THERE!... HOWEVER, LOL, I just ran into a problem where I needed to recover a file (all these years and i've never needed this feature). Anyway I just ran across this thread Recover Deleted Files in Aptana Studio 3? "By default Aptana Studio stores a history of up to 7 days if the file was within a project."... I guess i can live without having my ftp right there in the same program and just use filezilla. sigh lol. Also DW doesnt recognize keys which is a big let down but yea... anyway... I just started using Aptana Studio 3 so I hope I fall in love with it quickly lol I'm building my projects now :P
Well, just to clarify some stuff. Aptana does have ftp, and i even think it's easier to use than dreamweaver's ftp module...

ZX Spin emulator, built-in assembly errors

I'm having problems understanding how to get an assembly file to run
inside the ZX Spin emulator using the built-in assembler. I'm able to assemble my program but it seems to crash each time I attempt to run the assembled object code.
I cannot find any documentation on how this is meant to be set to run.
The message I get with version is v0.7:
Access violation at address 0060470C in module 'ZXSpin.exe'. Write of address 05603622"
Any help on getting this working with the most simple of assembly files would be great.
I had that error too with both 0.7 and 0.66 version, but I've found a solution.
Get to Tools/Options/System and change "When no longer active application" to "Keep running with sound"
I'm using version 0.666. Try to set a conditional breakpoint.
I found that version 0.7 had a bug in the assembler as that part was no longer being maintained and subsequently had been broken between releases.
I tried the previous version and it worked correctly (so I made a wonderful dot). Thanks to anyone who helped out with this. Can't recall the forum where I was provided with that info, but thanks :)

Komodo Edit: Running macros via keybinding versus toolbar

Question: Is anyone out there familiar enough with Komodo Edit to shed some light on this macro? I need to figure out how to do buffer text selection in a macro when it is invoked via the tool panel.
Problem: I have a very simple macro in Komodo Edit javascript that works as expected, but only when invoked via a custom keybinding. If the user tries to invoke it from the standard "tool panel" the selectWordLeft invocation does nothing. My guess is the failure is caused by the edit buffer not having focus, but one would have thought that telling the macro to expressly give focus to the buffer would work.
komodo.view.setFocus();
komodo.doCommand('cmd_selectWordLeft'); /// this NO_WORKY
Background:
Komodo Edit, version 5.0.2, build 2604, platform win32-x86.
Built on Wed Nov 19 18:33:41 2008.
Answer: Did some more searching and came across this response to another question on a KE forum; which seems to fix the problem.
Instead of deleting the question, here's an answer in case anyone else out there has the same or similar problem.
There are currently some issues with komodo.docommand and some commands.
To work around this, change this line:
komodo.doCommand("cmd_selectWordLeft");
to this instead:
komodo.editor.wordLeftExtend();

Resources