UI Automation Xcode instruments using javascripts - xcode-instruments

I am working on UI Automation using Xcode instruments, can anyone help me in how to remove additional information that shows in Extended Detail pane which usually includes a description of the probe or event that was recorded. Instead, it should show only the logger message which I have included in my scripts.
Thanks,
Vinod K

Related

Need clarification on vs code debug

Can anyone explain these three debug symbols on VSCode I have found on the internet?
My vs code has the one with the play icon.
All demos online on debugging have the one in the middle. How do I get that?
Also, node js debugging is installed but I think it shows as disabled, with no option I can find to enable it.
To answer your question directly [TL;DR]: you already have it if you are using the latest version of vscode. It will take you to the same view as the one on the right
If you look at the codicon libray ref the middle one you pointed out is not present.
Visual Studio Code made changes in February 2020 ref that incorporates running and debugging to be something more harmonious:
User studies revealed that new users have difficulties finding how to run their programs in VS Code. One reason is that the existing "Debugging" functionality is not something that they relate to "Running" a program. For that reason, we are making "Run" more prominent in the UI.
The main menu Debug has become the Run menu.
The Run and Debug view has become the Run view and the corresponding Activity Bar icon now shows a large "Play" icon with a small "bug" decoration.
So in other words, there is no difference. The 'Run' and 'Debug' view is synonymous and the icon reflects those changes. As they noted, the Debug view is now called the 'Run' view, but it still offers debugging and breakpoints.
There are 2 possibilities you are running into however:
The tutorials and guides you are using are out-dated (showing an outdated version of vscode)
The tutorial or guide is using an extension that offers debugging capabilities. Extensions have some control over the icon you see
The extension is for single file debugging, according to the June 2020 ref notes, vscode recommends the following:
For debug extensions that want to improve the single file debug experience by adding a "Run" and/or "Debug" button to the editor, we recommend following these guidelines for a consistent look and feel:
Contribute Run and/or Debug commands in the package.json (see Mock Debug):
Use the command titles "Run File"/"Debug File" or "Run Python File"/"Debug Python File".
Use the $(play) icon for Run and $(debug-alt-small) for Debug.
Where their codicon library was updated in June to reflect the following:
As you can see, none of them are prefixed with verbiage like 'run', but they all represent the same functionality.
Additionally, you may see this icon as well:
This represents the panel (view) where the output of your debug will go.

wso2 BPEL message-variable becomes un-expandable after some time

I am using Developer Studio 3.8.0 on top of Eclipse Lunar to develop an BPEL project...
I have able to create a partner link, assign the input message variable, and invoke the partner link.
however, I found out that after sometime, the message variable (the input/output variable used when calling a partner link) become un-expandable.
see the snapshot below
I tried to create a new message variable with the same partner link ( of different operation), and the message variable is expandable. (see shap shot below)
this is very annoying, because I am totally depending on the graphic designing iterface; and it become almost impossible to any job when complex composite variables become un-expandable in the GUI
anyone has any idea? or any suggestion?
cheers
WSO2 Developer studio is using the JDT UI elements in Eclipse platform[1]. However in some cases, JDT UIs are not working properly with lower window resolutions. In your attached screenshots, we can see that it has very low resolution.
So please try to increase the resolution first. If it is not working, edit your bpel with the source view. You can switch to the source view by clicking on the source view tab in bottom of your Gups.bpel window.
[1] https://www.eclipse.org/jdt/ui/

Are there more explicit commands/toolbars and feedback for Eclipse for Android?

I'm new to Eclipse. I may need a better understanding or a plugin that would provide me with features described below. While doing some Android development, and I while making changes to my code at one point Eclipse warned me that this emulator doesn't support hot-swapping and if I want to disconnect. I'm used to see status in either the toolbar or in some log from Visual Studio. Is there a way to see this feedback in Eclipse?
My problem is that there are quite much implicit stuff in eclipse I would like get feedback of and control, like whether I'm
connected or not to a device,
if I'm attached to a process on it or not with debugger,
some kind of build log with a timestamp so I know it happened,
the automatic uninstalling and installing of the project on the device
which project is "active" ("featured") in "Run" and "Debug" buttons/configurations
Is there a plugin that can give me explicit commands over these automatic features? Like a toolbar or command. What I would expect of this tool:
be able to indicate the current status (eg. currently connected or not)
gives me control to eg. connect
gives me control to eg. disconnect
Preferably on a toolbar, as I know some of these are available as menu commands.
Furthermore I tried to configure my toolbar by Window menu -> Customize perspective..., but pin-pointing the features I want made my Eclipse put empty space up for the buttons I disabled, and next time I got to the same config screen it got the checkboxes wrong and displayed some stuff active what was actually disabled.

MS Sandcastle - Is there any quick way to "preview" what the output will be without recompiling the entire help?

Well, the title asks it all.
I have the Sandcastle Help File Builder GUI. I can generate help files, but I was wondering if there was a faster way of seeing the results aside from recompiling the entire help file.
I asked about Sandcastle because other tools I've tried that offer a preview feature don't compile help files to the exact specification as does Sandcastle. Most of them require fully qualified references, which is a pain in the butt.
No, there is no preview capability but there are some SHFB settings that allow you to dramatically reduce build time. In my case, my 16 to 18 minute build was reduced to 3 minutes.
What you want to adjust are the Cached Build Components. And fear not, adjusting these 3 components requires no arcane manipulations or complex gyrations.
Simply go to the Build section in the SHFB GUI, and find the line near the top labeled ComponentConfigurations.
Click on the value field to reveal a hidden ellipsis (...) button.
Click that button to open the Select and Configure Build Components dialog.
Select in turn each of the three entries beginning Cached... and select the Add action.
These require no configuration so close out the dialog and if successful the main SHFB window should now indicate 3 custom build component(s).
Be sure to review the documentation at the above link for more details.
Just for completeness, two other items of interest:
Take a look at this forum post (Sandcastle build is taking hours to complete) that discusses how your hardware can have a tremendous impact on Sandcastle build time as well.
Take a look at my article Taming Sandcastle: A .NET Programmer's Guide to Documenting Your Code on Simple-Talk.com that discusses quite a lot of tips and pitfalls of Sandcastle and SHFB--ironically I uncovered my tip here about cached build components after that article went to press so you will not find it in there!
In SandCastle GUI, go to menu Window and open Topic Previewer Window.
If you have Visual Studio and the Sandcastle VSiX extension installed, go to the Visual Studio menu View > Other Windows and click on Topic Previewer Window.
See https://ewsoftware.github.io/SHFB/html/d3c7584d-73c0-4725-87f8-51e4ad956694.htm.

shark does not show source code

We are trying to run shark on our iphone application. However, in the analyzed samples it does not list any of our application function. All that is listed are the libraries and when we click on any of those, the assembly code is visible.
Most of the sites mention about 'Generate Debug Symbols' option when building the app; I am not able to find this option either. Instead I have enabled the 'Generate Profiling Information' option.
Can anyone please help as to how do I see my application functions and source code in the analyzed samples of Shark?
You have to compile it with for debugging (not just with symbols), see the shark manual.