I am badly stuck on why my OpenCL program crashes after clEnqueueReadBuffer calls. Is it a okay if I post all 300 lines of boilerplate/kernel code? Otherwise any suggestions on how to debug OpenCL code besides eyeballing and error code printing would be appreciated.
UPDATE
Wow, so I merely messed up my paramter to host memory on my clEn...
I'm fighting a 'Too many connections' problem with my MySQL process and I've got to the point when
mysqladmin processlist -uroot -pXXXXX results in:
+------+------------+-----------+------------+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+------...
Hi ,
I am dealing with code legacy and in UI i can find some id's of my objects which are used at run time.
Those id's could help me to find more quickly the portion of code with which i am dealing for that requirement,but i do not know if it is possible to do in debug mode from Visual Studio 2010 (C++ and C#) a search after a value...
Hello,
I am trying to inspect the contents of a GridView on a postback to debug some issues with dynamic columns and controls. Is there an easy way to view the contents of a GridView in the VS 2010 debugger, similar to the DataSet Visualizer (mouse over a DataTable, click the magnifying glass)?
I have clicked through all of the variou...
I have a C# windowed application that needs to make use of a third-party API, which is offered only in C. To solve this problem, I've created three projects within VS2008: two C# projects and an empty C++ project. One C# project is my "Wrapper" project, responsible only for producing managed code that calls the C DLL. The other C# pro...
I was able to build one application up to this morning, then I don't know what happened as I try to build I have
[DCC Error] myunit.pas(1710): E2056 String literals may have at most 255 element`
Why this if this was working? (1710) was not edited in last month. I checked with a colleague project options and environement options one by...
I want to start my WAS server(on windows) in debug mode.But my application is huge and server time outs while starting in debugging mode.I have increased the timeout value to 1000 .What should i do?
...
Hello,
I have a module which listens to a few events.
It works fine in at least a dozen installations I have tested it on.
On on specific installation, a client which I installed it, on Magento version 1.4.1.1, It does not work.
When I tested his system, and I fire the events manually, eg Mage::dispatchEvent('..') the observer does lis...
Something funky is happening with one of my class's instance variables. I want to make the variable a property, and whenever it is accessed I want to print out the stack trace of all the code leading up to that point, so I can see where it's being messed with. How do I print out the stack trace when no exception has been raised? I know i...
When I start my ASP.Net 4.0 web app in debug mode, I'm getting the following exception:
System.Web.HttpException occurred
Message=Invalid file name for file monitoring: 'C:\src\main-232\src\ZNode\Znode_MultiFront\Web\Controls\Cat5\Navigation'. Common reasons for failure include:
- The filename is not a valid Win32 file name.
- The fil...
I have a memory dump that I'm using to troubleshoot a client issue. This is a .NET (C#) application. The problem with my application is that too many instances of a particular class are being created. There are 6300 instances of this class when there should be something like 20. I want to loop through all of those instances and call ...
I'm going to be giving a presentation a little later to a student ACM chapter about how they can utilize debugging tools to solve problems in their code. Any ideas for a (preferably short) bit of example code I can use to demo breakpoints, variable inspection, etc.?
My main worry is that I don't want to patronize them by using "Hello Wo...
Inevitably, I run into programs that will have a user interface that hangs. However, I can divide those programs into two types: There are the hangs that prevent a Windows session from ending, and there are the hangs that do not prevent a Windows session from ending.
How can that difference be used to help diagnose the root cause of the ...
If I attach to a application's process and debug, then stop debugging, and recompile a dependent assembly, is it possible to add logic to my application which does an unload/re-load to that assembly such that I'll be able to re-attach to the process and debug again without re-starting?
...
When debugging AutoCAD add-ons you set Visual Studio 2010 to start the AutoCAD exe first. If the AutoCAD .exe properties are set to run in compatibility mode for Windows XP (NOT the Virtual PC XP mode) will it mess things up? ie. is Visual Studio 2010 ok with this?
The reason I'm leaning towards running older versions in compatibility m...
In order to diagnose a tricky memory corruption bug (memory is getting randomly overwritten) I thought about utilizing Electric Fence + some custom mprotect calls to ensure that the corrupted data structures are only writable when I want them to be written to (and I immediately get a SIGSEGV when they are attempted to be written to).
Un...
I have some code
int main(int argc, char* key[] ) {
cout << strlen(key[1]) << endl;
cout show 4.
now using gdb
(gdb)print strlen(key[1])
shows -147660784
What is the reason for this difference?
...
Hi all;
Is there any specific step required to debug 32 bit application with 64 bit gdb under 64 bit O.S.
Normally I use -m32 switch for gcc, is there something like for gdb?
...
Hi i want to debug my programms which are cross compiled on windows for arm architecture by using the codesourcery gcc.
I have the following things debugging:
sam-ice jtag/jlink debugger
arm-none-eabi-gdb
when i use the command line inteface arm-none-eabi-gdb programm.elf i cannot run the programm under windows.
under eclipse i get so...
I am doing an AJAX request. In my onFail event of the Request I catch the XHR object.
What is the name of the member in this object that holds the code.
For that mater, I could not find a documentation that shows the list of members in that object.
...