opencl debugger settings in vs 2010 - opencl

I just want to ask a very simple question: where can I find the opencl debugger configuration dialog in visual studio 2010. There is no code builder tab in vs2010 as well as I could not find it under the tools tab. I just want to enable opencl debugger, play around work item values and debug my kernel code.
Any help would be appreciated?
p.s: everything has worked fine from installation to code building to application execution. Just want to know why the opencl sdk debugger plug-in does not appear anywhere in vs2010.
thanks,
Mork.

You can't use the Visual Studio debugger to debug OpenCL kernels.
Update: Per the informative comment from #Omair Khan, under certain conditions (source in file) you can debug CPU kernels in Visual Studio when using the Intel CPU driver. However, you cannot use the Visual Studio debugger for GPU kernels.

Related

Why does running IncrediBuild from the command line on my Qt app never halt?

I use Visual Studio 2013 with IncrediBuild to compile Qt apps. Through the IDE everything works fine, but when running on the command line, BuildConsole never returns.
Process that are running:
BuildConsole.exe
cmd.exe
devenv.com
devenv.exe
MSBuild.exe
Turns out, the qt5appwrapper step was the piece that was never finishing.
I could see this by opening up IncrediBuild's Build Monitor window and seeing that that portion was just going and going and going...
Uninstalling the Qt Add-in 1.2.4 fixed the problem.
This is done by running Qt5VSAddin\uninst.exe. I found it in my start menu under Qt5 Visual Studio Add-in (not from inside Visual Studio).

Why are breakpoints not working in TestComplete?

I'm using a trial version of TestComplete 8.70.720.7 for test automation. I've faced a problem with breakpoints - they don't work even if test debugging is turned on. What can be the reason of the problem?
TestComplete uses the Microsoft Script Debugger to debug JScript and VBScript scripts. So, this functionality depends on the MS script debugging components installed on your computer. If the break points are not working, there is something wrong with the script debugging components - TestComplete can't use them for some reason. There are multiple reasons for this problem to occur. Many of them are described in the following FAQ entry in the SmartBear Support Portal:
http://support.smartbear.com/viewarticle/8874/
If the suggestions from that article do not help, this may mean that you have faced a situation when TestComplete is trying to use the Script Debugger installed with Visual Studio. At that, not all versions of the VS Script Debugger are compatible with TestComplete. So, if you have VS installed on your PC, try doing the following:
Close Visual Studio and TestComplete.
Rename the VS7Debug folder on your disk (the path to it looks like this: C:\Program Files\Common Files\microsoft shared), to something else like "_VS7Debug".
Reinstall the Microsoft Script Debugger using the link from the FAQ article above. When installing under Windows 7, Vista, or Win Server 2008, run the installation with elevated permissions (use the "Run As Administrator" context menu command).
Does this fix the problem?

Use Intel C++ Compiler (Composer) 2011 with Qt without Visual Studio on Windows

Why does the intel compiler on Windows keep nagging about visual studio? I don't have visual studio and I don't want it!!! is that the only option I have??? I'm a Qt programmer who've been using MinGW as a compiler, and never needed Visual Studio. On Linux, the intel compiler is totally independent and doesn't need any other compilers to work. Could anyone please explain what's the deal with this Intel Compiler and why it's not standalone?
Please tell me what I should do to get it to work with Qt without Visual Studio.
Edit: To be clear about the problem, when I try to use icl.exe to compile some file, it gives me this error:
icl: error #10114: Microsoft Visual C++ not found in path
Thanks for any efforts! :-)
On no platform is the Intel C/C++ compiler standalone. It requires tools of various kinds on all platforms.
The official documentation actually does list the entire gcc toolchain as a system requirement on Linux. Additional libraries are required as well.
It just so happens that on Windows, these tools are bundled with Visual Studio. The free version is sufficient.

Crystal Reports and VS2010

We have Crystal Reports running and it is tied into our VS2010 installation. I have not looked at the instance in a long time because we had a devoted Crystal developer on board, however he is gone now and I need to make a few changes. When I try to open up the .rpt file in VS2010 all I get is garbage, not the Crystal Report with the GUI. What do I need to configure/install to get to see this inside VS2010?
EDIT: When I go to my .rpt file to edit it with Crystal Reports, I get a white screen filled with what appears to be random HEX character sets and periods. I have downloaded the CR for Visual Studio, however it still happens, is there an extension I need to include somewhere? I have my target framework as 4.0 and I have the CrystalDecisions assemblies loaded in my web.config.
Here is the SAP link for VS 2010...
http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp
I also had this problem after installing "SAP Crystal Reports, version for Microsoft Visual Studio" recently - over two years later.
I specifically installed Support Pack 8 on 64-bit Windows 7 Pro and found that the fix for me was to:
(1) Run the install executable rather than an MSI per SAP's note that this is critical to full integration with Visual Studio (all the way back to the RTM release):
Please note: To integrate "SAP Crystal Reports, developer version for Microsoft Visual Studio" into VS 2010 or 2012, you must run the Install Executable. Running the MSI will not fully integrate Crystal Reports into VS. MSI files by definition are for runtime distribution only.
(2) Run it with Visual Studio closed.
(3) Run it as Administrator.
Even doing (1) and (2) in the list above without (3) yielded an error at the end of installation (even though the account I used was a member of the local Administrators group). Unfortunately I (uncharacteristically) did not note the error and just continued. :P
Bottom line, even though "SAP Crystal Reports, version for Microsoft Visual Studio" showed in Windows' Programs and Features control panel and I could add CR items to and reference CR assemblies in Visual Studio projects afterward, hex-like garbage rather than the expected report designer greeted me when I opened CR .rpt files in Visual Studio - just like the OP described.
So I closed Visual Studio and uninstalled "SAP Crystal Reports, version for Microsoft Visual Studio" through Windows' Programs and Features control panel.
Further doing (3) in the list above when I ran the installer executable again (i.e. running it as Administrator), I encountered no errors; and afterward the expected report designer rather than hex-like garbage greeted me when I opened CR .rpt files in Visual Studio: problem solved.

problem with QT and visual studio 2010 ultimate in debug build

I install vs 2010 ultimate and "qt 4.7.1-vs 2008" qt-vs-addin-1.1.7. Now every thing is configured but when i make a debug build of qt application i am getting
"The application has failed to start because the application configuration is incorrect".
This is probably because vs 2010 is compiling to msvcp100d.dll where as qt is compiled with msvcp90d.dll. Can you please let me know how the problem can be resolved thanks in advance....
I'm not working with Windows releases for a long long time but if Nokia doesn't provides a compiled release for VS2010 why don't you compile Qt from the source? It takes a while but it's the right thing to do.
PS:
Looking through the Qt Software download page it doesn't seems to have a VS2010 release, at least for the LGPL version. Then, you really need to download the source and build it.
Just in case you need from reference on Qt build process, take a look at this:
http://en.wikibooks.org/wiki/Opticks_Developer_Guide/Getting_Started/Building_Qt_From_Source
Configure options for you case may be different.
Also, be warned that according to this VS 2010 is not a Tier 1 platform for Qt.

Resources