-
Notifications
You must be signed in to change notification settings - Fork 35
Release 1.3 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-1.3
Are you sure you want to change the base?
Release 1.3 #12
Conversation
|
About your suggestions:
|
Take Aways
1. Why is 9009 the default port? When I run it it seems to be 6000I normally always define my port when I spin up a jvm. I did a lookup for the default and thought I was reading port 9009 as the default. Thats true for glassfish. Eclipse its 1044. Seems like it should not try to default and echo out an error that "Either the con or entryClass needs to be defined'. With that there probably should be some overall strategy for bailing out with error. I saw the kill commands... maybe those should fire if the debugger fails to start. Haven't looked to deeply into what's hooked in yet. I just read your other response about future error handling ideas. Sounds good. 2. Your decision process of whether to start a new JVM or attach to an existing one is confusing. In the GDB version, having pid or con is the trigger for attaching/connection, and I think it should be the same here.
The thought here was that if we have an entry class defined then use that and spin up a JVM. Otherwise use the --attach convention with the con info. Two use cases are someone wants to start up a JVM and they have to tell the debugger what class to use that has the intended main to run. The other case is that you've already started off and you just have to attach. 3. Can expect be used to test Vimscript?Expect definitely could be used, but I would favor the ones that you have suggested. Which one do you prefer? Like I said I am a complete noob to vimscript. Used vim for a long long time but first time venturing into writing vim script. I tossed out the idea to just start the convo about possibilities there. |
I never tried any of these testing frameworks - I just stumbled upon them on a quick search. I'll have to try them out before deciding... |
Cool I could look too if you want. This is your baby so whatever you want I'll go with. I have several things on different burners right now but I'm committing myself to helping on this because I can't stand eclipse any more and I would love to use vim in this manner. Especially like it because my roots are in C and I really appreciate this works with gdb as well. GDB was decent though and I liked DDD. But staying native to vim is fantastic. |
This is hardly my baby - just another tool I maintain so I can use it(though I can't really use it for the main project at my current workplace, so I don't have too much motivation to work on it right now...). I always appreciate more people contributing to make a project like this better because the also want to use it - that's the open source way! |
@idanarye what is the status of jdb support? I want to use this in java project. |
Task list
The approach
Okay I deviated a bit from our discussion. Hopefully you're cool with the approach. If not I can change it...
So here goes. I went with the single startup. However, I converted the first argument to be a optional in the args dictionary. Here are my reasons:
If changset is adopted, what issues I'd create
Let me know what you think!