-
Notifications
You must be signed in to change notification settings - Fork 133
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
Debugger implementation #159
Conversation
Added launch plugin with arguments Integrated to idea
…primitive ones, not tested to be runnable
…ome cases it crashes with message "Block was not compiled using a compiler that inserts type information about arguments"
* origin/master: Removed unused old simulator binaries. Exclude some Entitlement keys (MobiVM#144) Update README.md Update README.md Fix issue MobiVM#140 (MobiVM#142) Add the "framework" compiler target (issue MobiVM#132) (MobiVM#141) Added the ability to select one of several USB-connected physical devices with the robovm.device.udid parameter in the Gradle plugin. (MobiVM#139) Update poms to next development version
…s in tar, otherwise on each launch idea will rebuild all classes in case of snapshot builds
* origin/master: Ios10.3 bindings (MobiVM#152) IDEA -- fixed resource unpack to maintain the timestamp same as it was in tar, otherwise on each launch idea will rebuild all classes in case of snapshot builds (MobiVM#149) Remove leftovers of old simulator handling, bringing to foreground. Remove old commercial license manager eclipse ui elements and gradle tasks Android studio/Idea fixes (MobiVM#148) blocks implementation -- added signature generation to blocks as in some cases it crashes with message "Block was not compiled using a compiler that inserts type information about arguments" (MobiVM#147)
…at return null pointer
That looks awesome! Regarding LLVM: did you patch the lib? I think we should fork the robovm llvm repo with your patches applied @too, so that we can rebuild it? Same goes for moe-ios-simulator launcher. So that would add up to the following new repos:
|
hi, mod-sim-simulator launcher -- there is dirty workaround that works for me. I just recommend to use it as on big log outputs applications will hang. |
Allright, thanks for the info. We started forking all necessary repos under the MobiVM organisation, see: https://github.com/MobiVM How should we proceed further? Releasing a SOOT version in the com.mobidevelop namespace? |
yep, after SOOT under mobidev is only missing dependency. |
Okay. @Tom-Ski could you release the forked SOOT on Maven? Regarding Linux: I would like to keep it, since my primary platform in use is Linux. I can recompile the .so for linux, so that's not a problem. |
I've pushed 2.5.0-4-SNAPSHOT of soot, if you could give that a whirl and let me know how it goes i can push a release to work from on stable. |
Perfect, thanks! @dkimitsa can you take a look at this? I would merge this after your okay. |
@florianf built with, no issues so far |
Okay, than we're good to merge? |
Got the debugger to work in Eclipse, very cool! Currently I'm encountering an exception when trying to set a breakpoint:
This happens here in the Eclipse JDT tools: Any idea what this might cause, since 76 seems to be the ReferenceID for an object type? Im running the debugger in client mode for eclipse (opposed to server mode for IDEA). EDIT:
so in the method
there shouldn't be a type 76, because it's not a reference type. The stack leading to it:
|
…e to complain. +some more copyrights
fixed, btw idea also uses client mode |
I meant server mode. I need to pass clientmode=false when launchin, since eclipse seems to be expecting a running jdwp server. I'll test your fixes, thanks! |
Oh yes, it works now! Currently I'm having problems with the source lookup in eclipse, but breakpoints, stackvars and the like work. Nice work. |
Hey @dkimitsa, spent some time trying to get the eclipse source lookup to work. I encountered the following: I'm creating a simple ConsoleProject with the following simple main method:
For some reason I need some time before setting a breakpoint works. If I do this, setting the breakpoint works but than the Thread HooksChannel crashes. Following log:
Any idea what's going wrong? |
can you please add following parameters.getArguments().add("-rvm:log=debug"); to see at device side ?
|
Hey @dkimitsa, thanks for your help! I'm gonna merge this as it is, since I can't get the eclipse debugging to work right now. I'm going to open a seperate issue for this, but in the meantime we can bring this amazing stuff to the people, and maybe someone steps up helping with eclipse. |
it seems to be more-less stable, to extend the audience let make it a part of snapshot.
changes:
Optional:
there is an issue with moe sim launcher https://github.com/multi-os-engine/moe-ios-simulator-launcher/issues/1 and workaround https://github.com/dkimitsa/moe-ios-simulator-launcher/tree/fix_for_pipe_hangs_on_long_msg