What is the simplest way to get started with debugging and hit a specific line in a Drupal install?
Generally?
With Eclipse? (how difficult?)
On Windows, knowing and having access to Visual Studio (How Difficult with Visual Studio?)
(No Pay: Free or trial)
Locally on Windows I am using the Acquia Drupal WAMP-stack. On the server Ub...
Am creating a debugger tool.
I need the MAP file Structure specification for GCC compiler.
In order to find how the memory is mapped for different variables of different Data types (class, inner class, static, static const, extern, template, typedef Variables Specification in MAP file).
And also i want to know the way how the symbols a...
I want to debug on the customer's machine (Windows Server 2003) to track a problem, and out product is based on .NET 2.0. I want to use DbgCLR.exe to debug a file AAA.dll, what I did is:
install .NET 2.0 SDK on the customer's machine (to get the DbgCLR.exe)
copy the symbol file AAA.pdb to the same directory with AAA.dll
get the source ...
PROBLEM UPDATED, READ BELOW
For some reason my CI fails silently when loading view.
Loading view is simply called from controller
$this->load->view('templates/default.php');
Now. There are some functions in the loaded view that are not defined unless a proper helper is loaded as well. Normally, php would throw an error, but instead i...
I would really love to be able to see the code that is affecting a specific DOM element.
But I also would really love not to have to look through all my javascript searching for references/selectors that might be causing the issue.
Does anyone have a technique for causing a browser debugger to break on any changes to a specific DOM ele...
Let me say upfront that I'm so ignorant on this topic that I don't even know whether this question has objective answers or not. If it ends up being "not," I'll delete or vote to close the post.
Here's the scenario: I just wrote a little web service. It works on my machine. It works on my team lead's machine. It works, as far as I c...
We recently migrated to VS 2010. We installed .NET 4.0 on our test machine. When we execute a console application that throws an unhandled exception, we no longer see the exception message and stack trace printed to the console but instead see the message
An unhandled win32 exception occurred in something.exe [PID]. Just-In-Time debu...
I am able remote debug into a process that is running both native and managed code on a VM from my host machine. Also, on the VM I have been using the psscor2 extension with windbg to analyze the .net heaps.
I find my self jumping back and forth between Visual Studio 2008 in my host and WinDbg in the VM while attempting to locate and f...
So. I'm using V2010 release on Windows 7.
And it doesn't attach automatically. How can I enable to auto attach?
Thanks in advance.
...
First a little background on what I am trying to achieve.
I have a client application that is utilizing REST services served by ArcGIS Server and IIS 7. I want to be able to modify the response (remove or add parameters) before the response is sent to the client. Therefore, I am developing a custom HttpModule using Visual Studio 2010 a...
Is there any way to enable debugging from within the Windows Forms Designer in Visual Studio (any version, up to and including 2010)?
What I mean is, say I have some custom user control, and this control has certain validation that it performs when I set a particular property. I'd like to be able to set a breakpoint somewhere within tha...
when debugging code which's called recursively many times, sometimes it gets difficult to realize which execution of the code you are seeing. Is there any IDE graphic tool which helps to see that with diagrams or something?
...
I am trying to search the "this" object in an ASP.NET MVC 2 for a string value.
In a view, I set the partial view input tag prefix and am trying to figure out how to reference it in the partial view itself.
For example:
Html.EditorFor(m => m, "templateName", "fieldPrefix");
In the partial view, I would like to search the "this" obje...
Hi
Really puzzled why the following is happening and hope someone can help.
// here xPos correctly traces out, always changing
//CODE EXCERPT
CGFloat xPos=currentTouchPosition.x - lastTouch.x;
NSLog(@"touchesMoved and xPos= %f", xPos);
if (startTouchPosition.x < currentTouchPosition.x)
[self adjustTimer:xPos];
else
...
When dealing with random memory overwrites, in MSVC it is possible to validate the state of the heap at various points with a call to _CrtCheckMemory, and know with at least a small level of confidence that the code up until the check was not responsible for any errors that might cause new or malloc to fail later.
In XCode, whats the eq...
For a long time I would throw up a DebugBreak() or ASSERT(false) in the startup code of my ActiveX control, load up IE, go to a localhost page hosting my control, wait for the dialog to show up, then debug my application. I could also launch it under the debugger by setting IE as the container.
I tried again for the first time in 2 mon...
I'm using Eclipse and have an emulator running Android 2.1 and my IntentService. I'd like to step through my onHandleIntent() overridden function. I've put in a breakpoint on the first statement of the function, which is Context context = getBaseContext();. When the intent is called the program just fails and does not go to debug view...
I've got a Perl script, let's call it A.pl where the first two lines look something like this:
require 'B.pl';
require 'C.pl';
Where both B.pl and C.pl each have their own cavalcade of requires. I need to set a breakpoint on a specific line of C.pl. In GDB I'd do something like:
b C.pl:830
However that doesn't seem to work at all...
I' building an application using C# which will use CATIA COM modules. When I import the COM inside my c# project, I think that Visual C# express generates the Interop automagically for me.
All of this works correctly. However, when I try to debug the application and use watches during runtime, every object is a System.__ComObject and I ...
catch(Exception ex)
{
}
What's the best way to proceed?
Rip them all out and let it crash?
Add logging code? Message boxes?
This is in C#.
...