debugging

how to properly debug in xCode and Objective-C

Hi, I was wondering if there is an effective way to debug problems in xcode while coding in Objective-C. I create webpages constantly and code in jquery and javascript where you can set various alert boxes in different places in your code to determine if your script is properly executing sections. Can you do something like that in xcod...

Visual Studio 2010 - Viewing lists during debug results in timeout

I am trying to debug a project, suddenly I'm running into an issue where enumerating any object collections results in a timeout if I try to view it. If I run the program normally I have no issues. If I try to view any collection, such as a list, I get a timeout error and the whole thing bombs out. I thought something might be going on...

How do I debug a .cs codefile while running on a server?

Running the code on my local box is running just fine. As soon as I load the code on my server it is having issues. I can't see the issues because my UI code is calling a webservice via jquery and the webservice is calling into the .cs file that is having an issues. The webservice just returns a failure to the jquery. Any ideas or help ...

Debugging Source Indexed Software with Visual Studio is a pain

I'm responsible for some internal tools and I want to make debugging them as easy as possible on client machines. We used to ship with full source code and debugging information and built them in exactly the same location as the typical client install path. This made debugging extremely easy. We have now moved to using Windows Installer...

Problems with the Visual Studio Debugger

I have the following Problem.. I'm working on a Project (c#) and while trying to debug a succesfull build is going to be created. But when putting Stop-Marks in the Source Code or pausing the execution of the application strange things happen... I'm using the "Local" Tab at the bottom to check and control the values in the objects and ...

CUDA: Debug with -deiceemu and gdb

Hello, I wrote a CUDA application that has some hardcoded parameters in it (via #defines). Everything seemed to work right, so I tried some other parameters. Now, the program doesn't work correctly anymore. So, I want to debug it. I compile the application with -deviceemu -g -O0 options, because I read that I can then use gdb to debug...

Trace changes to variables automatically

I am debugging a C program (GCC and GDB in Linux and Visual Studio in Windows) that gives different results on two different architectures. I'd like to compare execution on each architecture by tracing the changes to the values stored in variables in order to locate differences. file main.c, line 234. Variable A changes from 34 to 23 f...

Magento website payment pro USA

I'm integrating paypal website payment pro (US)in my shopping cart Magento. I have got API username,api pwd,api signature from paypal. I have tested by creating a form from the ref site https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks#NVP It works well and im able to login to the sand...

Testing a method that implements IHttpHandler.ProcessRequest

So I have a method that implements IHttpHandler.ProcessRequest. It accepts an HttpContext parameter. This parameter is just a form that is filled out with some XML. Here is the HTML that I am using to generate the post context: <html> <body> <form name="form1" method="post" action="http://localhost:7703/api.ashx"&gt; <textarea name="XML...

How can i run this Applet offline?

Hello all! :) i need this applet located herelink text (the same in a popup is here: hxxp://tcip.mste.illinois.edu/applet_popup.php?num=2) (please replace "hxxp" with "http" for accessing above link) i have downloaded (actually mirrored the whole site :D ) all the jars & the js files. one of the js (tcip.js) describes which applet wi...

How to debug TreeNodeCollection

The code in question: TreeNode categoryNode = categories.Nodes[category]; //BREAKPOINT HERE categoryNode.Add("New Node") My question is less about the code itself (it all makes sense to me), so much as the debugger. When at the break point I want to look at the TreeNodes in categories.Nodes, but categories.Nodes is a TreeNodeCollecti...

Debugging Delayed_Jobs

I'm looking to debug a delayed jobs class. First off I added the config/initializers/delayed_job_config to move my logging to my log/production.rb file. Delayed::Job.destroy_failed_jobs = false Delayed::Worker.logger = Rails.logger Then in the actual file I'm doing in the actual file class TestJob < Struct.new() logger.debug("test ...

jquery button generating script works 95% of the time

I have a script that runs 95% of the time perfectly but the other 5% of the time the buttons contents are missing. The script is run on every page and turns every div with the class 'button' into a button. var button_img = 'button-'+colour+'-'+size; var butt_id = $(this).text().toLowerCase().replace(/ /g,'_'); var placehold...

Debugging on my phone (Eclipse, Android)

I want to run and debug my Android apps on my HTC Incredible. On http://developer.android.com/guide/developing/device.html it says I have to install the Windows USB driver. And the instructions for that says: "1. Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the Hardwa...

Netbeans Debugging Extension for Binary Data

I am writing a program that uses a binary protocol using Netbeans and I am finding its debugging tool irritating to use. When I bring up the visualizer for an array of bytes, it gives me each byte, individually, as a signed integer. I would love something like ghex, or any other nice hex editor. For the time being I've written a utili...

How to debug into CUDA kernel code using visual studio 2008?

Hey, I am using Visual Studio 2008, with CUDA 3.2. I am trying to debug into a function with this signature: MatrixMultiplication_Kernel<<<dimGrid, dimBlock>>>(Md, Nd, Pd, Width); I can step into the function, however when I get into the function it doesn't let me step over any of the code and tells me that no source is available. An...

how to debug and understand the flow of execution when code contains delegates

I'm having hard time finding a bug in my application. Indeed i use Actions and delegates and when debugging the Call Stacks does not trace all the flow of execution because of the Actions and Delegates. Which techniques, soft can i use to help debug such applications ? Thanks John ...

ASP.net Hiding Properties

I have a class declaration public class Customer { public string id { get;set;} public Address CustomerAddress { get;set;} ... ... ... public string EmailAddress {get;set;} .. .. .. } during debugging i want to hide some properties from being displayed like (id,CustomerAddress),what is the way to achieve it? ...

Managing a remote Windows Service

As part of my app, my users install a Window Service (msi file written in C#) that uploads data to me. These Windows servers are usually behind all kinds of firewalls etc. and run by IT staff so it's difficult to get in touch with anyone to debug. What can I put inside my application that would make it easier to figure out things? I'm...

Print the name of the calling function to the debug log

Objective-C's runtime seems to be rather robust, so I was wondering if there's a way to log the name of the function that called the current function (for debugging purposes). My situation is that a bunch of things assign to a property, and rather than set a breakpoint and examine the call stack each time, I'd like to just NSLog the nam...