Does SourceMonitor works on all Platforms? - linux

I am sorry if this question is too local or duplicate. I searched in google but not got any idea.
I recently heard about SourceMonitor. I have downloaded SourceMonitor3.3 and I am using it in Windows.
I have heard SourceMonitor works on only windows. So to know about it I ma asking here.
Does it works on all all OS platforms? If not is there any code analyzer that works on all platforms?

The only available downloads for Source Monitor are for Windows. SOURCE: Source Monitor v3.4
Depending on what you need to analyze, some of the tools the Static Code Analysis Wikipedia list may work for your application. We have used FxCop for production and CodeRush in testing but we are a pure Microsoft shop.

Related

Is it possible to build a Visual Studio application for Mac and Linux? Any "extensions" available

I've created a nice application in Visual Studio. However, I want it to have multi-platform support. Is there any extension or anything I could implement to allow me to build my project for Windows, Mac and Linux users? Any suggestions or help would be helpful.
Thanks in advance,
Eddie
This other question on Stack Overflow is similar to yours, but only is asking about running on the application on Mac OSX. Most of the answers are suggesting to use the Mono Project. Hope it helps a little!
Check out the Mono platform. It is designed to let developers create cross-platform apps in .NET.
It will run on Mac, Linux and Windows.
In practice it is a bit clunky and not everything is available for Linux (e.g. WPF), but it might be a good solution for what you are trying to do.
http://www.mono-project.com/

Can I debug a program with LLDB-MI via Eclipse?

It seems that LLDB plugin for Eclipse is still not developed yet, but this article claims that one can debug a program with LLDB-MI driver in Linux. However described way of integrating Eclipse and LLDB doesn't work for me (I always get "command --exec-continue not recognized" error message) and it looks suspicious that embedding LLDB-MI to Eclipse may be so easy.
Could anyone point me to curren materials on this topic? Google shows me only old Eclipse-bug-tracking threads.
There is a project called lldbmi2 that provides most of the functionality one would need. I know it's been developed primarily for the Mac and I don't know if it's been tested on Linux. It's not perfect, but I've been using it on the Mac for months and I'm pleased with its functionality.
See https://github.com/freedib/lldbmi2

How to use IVI-C instruments-drivers (not IVI-COM)

I want to use IVI-C instruments-drivers (not IVI-COM) in Visual Studio 2012
Someone ever did this?
I only found examples for Visual Basic.
Drivers are downloadable on keysight.com-website which are free to use.
For VISA i installed Keysight IO-Libraries.
I'm doing something similar in Visual Studio 2013 using VB, but the basic principles will be similar for all languages. You probably know all of this already, but the question is a bit vague so here goes:
You need to install the drivers plus an SDK (which comes as a dll). Hopefully the SDK will come with a manual of commands in your language of choice, but if not study the manufacturer's coding examples in VB or whatever.
It is easiest to use the languages provided in the SDK (usually VB and C#, maybe C++) otherwise you will have to write an interface between your language and the actual command syntax and work in a multi-language environment.
The drivers and the SDK need to be referenced in your project after you have installed them. (MyProject, Reference Tab, use the Add command and Browse for the files.) Sometimes its hard to find the correct files but VS 2013 is quite good at telling you when you get the wrong ones.
You may have to target your build (Build|Configuration Manager) on x86 processors because there are no x64 drivers for much of this kit - check with Keysight.
Then, in your code you will need to:
instantiate a copy of the driver for the specific instrument:
Dim MyDriver As New InstrumentManufacturersDriverName
initialize it using the manufacturer's commands (on my kit initialization connects the driver to the physical interface via USB):
MyDriver.Initialize(ParametersIfAny),
set up the ports you want to use (very dependent on the specific hardware)
program your commands.
Use a lot of patience and trial and error at first.
Best of luck - it's not so difficult.

Is there a cross platform desktop framework that would utilize native libraries such at .NET and Cocoa?

I am starting a project that is heavily graphics related (think, paint app with layers).
Anyway, I have a long history in C#, Java, JavaScript and Ruby. This application will be open source.
But what I'm looking for is a "build once, use everywhere" framework. Most of the platforms I've looked into either seem to be far too outdated, too complicated, or just not a right fit.
I've looked into Swing, WindowBuilder, wxRuby, etc. So many choices and none seem modern enough, have good documentation, etc.
I was a C# desktop developer for years so if I were targeting Windows only, I would go that route easily. But I want my app to run on Macs too. But, I would like the Mac version to look like it was designed for a Mac and the Windows version designed for Windows, etc. I'm looking at the Mono Project currently. But the idea of my Mac users installing Mono doesn't appeal to me.
Anything Ruby based would be cool but not required.
Anyway, what are some recommendations? I use NetBeans, Eclipse and Visual Studio. So I'm not concerned with learning new IDE's if I had to. I even thought about doing it all in JavaScript and using the canvas but since I need to work with large, local binary files, I didn't know if that would be a good option.
Thanks for any suggestions.
Real Studio can create cross-platform desktop apps for OS X, Windows and Linux. It can also create Cocoa apps and you can use it to interface with Cocoa directly when needed.
However, Real Studio creates Win32 apps, not .NET apps so you cannot directly interface with .NET libraries.

Develop Windows applications with Linux tools

I like the Linux operating system and vim editor, but there are many companies that develop under Windows environment in Visual studio etc. There is a possibility that I will have to work for such a company in about a month.
I'd like to do my work on my Linux system and copy the files to them. I have experience with both developments and I found out that I don't want to work with MS products but I like programming and writing MS code is not such a pain.
Are you a similar developer? Could you give me some advice about your methodology to be most of the time on Linux platform, to create code and debug everything in vim on Linux and only when neccessary open Visual Studio with Windows forms and similar things and test the things that weren't possible to test in Linux environment?
I would see the work in creating small peaces of code on Linux, testing them and then move it to MS platform and integrate to the whole system. How do you debug and test your code? The development will be probably in C# or C++. I can't imagine Visual Basic.
Please write here your experience, style of work, if this has sence or there are too many troubles and I should rather give up.
So the question is: How to develop applications that run on Windows with Linux tools, without touching Visual Studio and browsing with Windows file manager etc.
thank you
Not sure, if this will help you or not but there is a Vim Emulation layer for Visual Studio 2010 called VsVim.
Check out : http://visualstudiogallery.msdn.microsoft.com/59ca71b3-a4a3-46ca-8fe1-0e90e3f79329
If I were you I'd install MinGW or Cygwin on your windows machine and just use gvim/vim anyway (or maybe just use the Win32 vim).
VS is just a big editor. You'll be building with the microsoft compilers ( perhaps using msbuild or nmake ) but probably are going to have to accept that you can only debug windows things with VS ( unless you build for MinGW or Cygwin and use gcc and gdb)
You can use vim as a code editor, you can even stick on Linux when developing software for the .NET platform. The people behind the Mono make this happen. Mono is a software platform designed to allow developers to easily create cross platform applications. It is an open source implementation of Microsoft's .Net Framework based on the ECMA standards for C# and the Common Language Runtime.
You can stick to the editor of your liking and use the tools that come with Mono to compile your stuff. There is a IDE called Mono Develop, but compared to Visual Studio it is pretty basic... and compared to VIM it lacks simplicity.
C# projects are plain text files so it's easy enough to edit them over an SMB share in whatever editor you wish from anywhere the sysadmins let you.
Testing however will be difficult without going back to the windows machine, and while Mono implements the framework, it's still a different environment if you're targeting Windows.

Resources