I am currently trying to get the Haxe Debugger working with IntelliJ, using information from This video tutorial and This blog post.
At one point, the tutorial says that a DebugSocket object must be created in the "create" method of the main file. However, when I type this in, I get an unknown symbol error.
From what I understand, the DebugSocket object should be available from the hxcpp library (which I have included). However, the only options I am given if I type new hxcpp. are:
Builder
NekoInit
StaticMysql
StaticRegexp
StaticSqlite
StaticStd
StaticZlib
What am I doing wrong? Have I included the wrong library? Are these tutorials referencing an older version of the library? Is there anywhere I can find comprehensive documentation on how to use the hxcpp debug tools properly?
If this is easier with a flash build then I would consider this.
i haven't gotten hxcpp debugging to work (but i m sure it does). However, i find flash debugging to be easier. I assume you already have the project setup in idea (and isn't just using it as a simple text editor). This is the set of steps i took to get it to work:
Open the project structure (from the menu 'file', then 'project structure')
find the 'modules' section on the left, and select your module, then find the 'haxe' tab.
in the haxe tab, select compile with 'openfl', and target flash.
in the bottom part of the haxe tab, select a flex sdk.
if you don't have flex+air sdk installed, you can easily install it by going to http://www.adobe.com/devnet/flex/flex-sdk-download.html, and http://www.adobe.com/devnet/air/air-sdk-download.html. make sure you remember where you installed it. An alternative place you can find it is via flashdevelop's 'tools', 'install software' menu (which by default installs to your C:/Users/username/AppData/Local/FlashDevelop/Apps/flexairsdk/4.6.0+4.0.0/.
you can add the sdk to intellij by selecting 'SDKs' on the left, and click on the '+', and then select 'flex/air' sdk. You need the flex plugin installed (whcih should be by default).
once you got your debug SDK setup, you can create a run configuration, and debug like you normally do (click on the debug run menu item or toolbar button).
One complication is that on windows, you potentially have a deadlock with haxelib not starting your app, and intellij hanging to wait for it. See https://github.com/TiVo/intellij-haxe/issues/123 - i have outlined a solution in the issue comment if you find that you also have this problem.
use this website : http://raintomorrow.cc/post/48029438701/setup-idea-intellij-for-haxe-nme-development for some screenshots (it's an older version of intellij tho).
Related
I am working on a app built with MSVC 2019. In the past, I was able to view structure members in the "Variables" window while debugging (by clicking on the '+' sign). This week that stopped working: the Variables window just shows an address in hex). I've not (knowingly) changed any build settings but the problem persists. No changes to source code.
Any ideas about what I'm doing wrong?
I've tried:
Delete Debug subdir & rebuild all
Checked: Settings->C/C->General->Debug Information Format: Using /Zi, but tried all other options.
Checked: Settings->C/C++->Enable Browse Information: YES
Checked: Varibles: Hexidecimal display NOT checked.
Details:
Include file dir specified by Settings->C/C++->Preprocessor->Additional include directories:
Compiled with MSVC v2019
Dell Optiplex Win10/64
UPDATE 03/25/2021
So far, this problem only happens when I build an SSL/TLS app. I've tried several SSL packages with same result (GitHub OpenSSL, FireDaemon, Shining Light, etc.). I include ssl.h from each package.
Members of structures defined within my app are shown correctly
You should uncheck Hexadecimal Display option under Locals Window.
I found the problem. According to
https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes, many data structures have been made 'opaque' in v1.1.0 and structure members are no longer accessible.
Great day for code purists but it makes debugging hard for the rest of us poor souls.
IMHO, It does not appear to be possible to work around this.
I am working in a mobile app testing project. We do write feature files (like scenarios) in a simple Xcode editor as of now. What I want is if I click on any step written in my feature file, it should take me to its step definition which is written in another document and open that in that editor.
I don't know if this facility is available with Xcode editor but if it is, please let me know how I can use it.
Also I thought if Eclipse or any of its plugin could be used but I don't know how.
Please let me know if there is any Editor which could be used for that (selecting an step and it takes me to the page where it is defined). And also it should be able to get executed on my mac with terminal.
Thank you very much for any help. really!
P.S. I am using git (SourceTree, Xcode etc) and working for an iOS app.
I suppose you use standard XCTest framework for testing? The feature you're looking for is present in Calabash framework. See tutorial at https://www.natashatherobot.com/calabash-ios-tutorial/
Actually, I have just downloaded Xcode 7.1 beta 2.
Problem :
I would try to run and execute my program, but the icons in the tools seem inaccessible, blocked. Is there a specific way to unlock these icons?
I have tried to modify some things in the setting, but it doesn't work.
As you can see, I can't connect scheme with target. Have I made a mistake?
How from this place can I can the target?
I'm not sure of the actual definition of a '' target '', but among them, which one should I choose?
This will be the last thing I'll ask you today. It seems there's compilation, but I can't watch them. Are you able to explain me what is happening? Is there a way to run my program from the terminal and observe the results?
The problem is probably with missing target or scheme.
To Add target you have to click plus button
And choose a template, for example Commannd Line Tool for c++ application.
Then to add scheme you have to click
Then New Scheme... and connect scheme with target.
I have Xcode 4.4.1 installed on my system.
I recently installed iosopendev to develop apps for jailbreak. It integrated well, now I can see the option for iosopendev in new project menu.
My question is, how do I design the interface visually, like using storyboard for a jailbreak app, and which template should I select for that?
For starters, I selected the Cocoa Touch Library Template, but it didn't have a storyboard or xib.
I would highly appreciate it, if someone could elaborate the steps and method for designing apps for jailbreak visually using Xcode.
P.S.- I have searched a lot on the internet and didn't find anything useful and hence as a last resort posted a question here.
Two ways you can create UI apps in Xcode that can be used with iOSOpenDev:
(1) Select an Xcode template and refer to https://github.com/kokoabim/iOSOpenDev/wiki/Convert-to-iOSOpenDev-Project to convert it to iOSOpenDev.
..Or..
(2) Select an iOSOpenDev template (that produces a bundle binary), add XIB file(s), create a Copy Bundle Resources Build Phase and drag-and-drop that new Build Phase so that it is above the Run Script Build Phase that runs the iosod script.
Just installed Xcode 4 using the default installation and am programming an iOS application.
When I use the Quick Help feature however, the only thing that is usually displayed is the name of the selected symbol and what header file it is in. Is there any way to show more information, like what is shown in Quick Help samples in the Xcode 4 user guide, such as: Declaration, Abstract, Reference, etc. Or perhaps iOS does not have an extensive Quick Help?
Yes, that was it. Even though I did a default installation, including documentation, the documentation sets were not installed.
So I went to Preferences: Documentation, and then installed the documentation sets manually and now everything works.
In Xcode, got to Preferences -> Documentation (Thanks user542428) and press "Check and Install Now"* This will cause the iOs documentation to appear in the list, so that you can press "Get" to download it.
(I got thrown off by the '+' for a while, but it required knowing a URL.)
"Check and Install Now" will download the existing docs, so your internet connection may be tied up for a while.