By 'challenging development environment' I don't mean you're on a small boat that's rocking up and down and someone is holding a gun to your head. I mean, are the tools at your disposal making the problem difficult?
Development is typically a cycle of code, run, observe the result, repeat. In some environments this is a very quick and p...
I am debugging an application which slows down the system very badly. The application loads a large amount of data (some 1000 files each of half an MB) from the local hard disk.The files are loaded as memory mapped files and are mapped only when needed. This means that at any given point in time the virtual memory usage does not exceed 3...
I have an admin site that I have copied over to a new server to test for bugs and put live, along with some other sites.
The admin appears to have REGISTER GLOBALS on and is using it for most of the 300 php files.
Based on the fact that you have to login to this system anyway is it worth the weeks of work to re code all the variables?
...
I'm trying to use the Microsoft Debug Interface Access SDK from C#. This is installed with Visual Studio, but the docs don't seem to mention how you use this from C#.
I've found example code on interweb but no information on how to link to the DIA SDK. I.e. I can't import it as an assembly. I don't think I have to include it into a mana...
Hi, I tried to remote debug an 32-bit application on x86_64 suse linux, but get this "remote register badly formatted" error.
I start up the gdbserver as listening on port 12345 (gdbserver localhost:12345 my_prog)
And this is the error:
$ gdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered b...
I have a project that references the System.Web.Mvc assembly in the GAC. I also have the ASP.NET MVC source code from Codeplex. I want to get a better understanding of the DefaultControllerFactory by stepping through its methods. How could I set this up?
Thanks!
...
I have some image processing code that runs on a background thread and updates an Image control on the UI thread when it's done processing using Dispatcher.BeginInvoke(). When I'm running my application outside of the debugger, it crashes quite often. As soon as I run it in the debugger, I can't get it to happen at all. Apparently the ti...
Hello everyone,
I want to set a break point and wants it to be triggered when a piece memory (begin address and length are known) are changed. I am working on Windows Server 2003 x64 platform. Either solution in Windbg or solution in Visual Studio are fine. My purpose is to monitor when the memory content is change.
thanks in advance,
...
I'd like to monitor SQL queries executed by my application while it runs.
I'm using a dbExpress connection to an Oracle 11g database under Delphi 2007.
This used to be possible under the BDE with the sqlmon.exe utility.
Is there a similar utility for dbExpress?
I've tried the Toad SQL Monitor, which logs two or three queries and then...
I'm using C# with the XNA library and I'm getting NaNs cropping up in my Vector3 objects. Is there a way to break into the debugger when the offending calculation happens (e.g. a divide by zero)? Currently the program just continues running. I'm using VS2008 Professional. All the exceptions in the Exceptions dialog are selected in the...
Hey guys,
So I'm seeing some strange issues in ie8 with jquery, and assorted javascript files. These errors are not occurring in Firefox, Safari, or previous versions of IE. The main thing that's happening are variable undefined, mismatched bracket errors, etc... but the error changes each time you force-refresh the page. Checking the c...
I have a simple udp listener written in c++ using win32 when I compile and run the program under debug mode it works perfectly, and I'm clearly able to see the information from the packets that I'm receiving. When I run this same code as a release build it compiles fine and seems to run fine, but its not printing out any packet informati...
I was wondering: When looking at an ASP.NET error page with a stack trace you can see a + sign and a number at the end of each line.
For example:
Also in the trace pasted in this question:
http://stackoverflow.com/questions/680434
The numbers are not the line numbers in the sources files, so I suspect them to be something like stack ...
In this very simple ASP.NET application, Visual Web Developer 2008 Express CAN debug the Javascript fine but the full version of Visual Studio 2005 CANNOT debug it, namely: when I click on a line in the main.js file it gives me a red circle with a question mark on it, the mouse hover revealing: "This break point will not be reached, no s...
In the question Why will Visual Studio 2005 not debug my javascript? I learned that debugging is possible in Visual Studio 2005 but you have to start debugging your application and then press CTRL-ALT-N to open the Script Explorer to set break points, etc.
However, even with the following simple code, when I press CTRL-ALT-N, the Scrip...
Why can't microsoft make setting a breakpoint in visual studio equivalent to adding the "debugger" keyword in javascript? I want to test javascript cross browser in a unified way.
...
I have a following setup. Although my working setup deals with ARM compiler Real View Developer Suite (RVDS) 3.2 on a Windows host, the situation could be generic for any other C compiler on any host.
I build a ARM library (static library - .a file) of C code using RVDS 3.2 compiler toolchain on Windows host. Then I link this library w...
The program I'm currently working on occasionally hangs with an AppHangB1 problem event. I have traced it to a specific series of actions, but it seems to be a type of heisenbug, as whenever I step through the code, it doesn't manifest itself. And once the program hangs, I can't pause the program to see where it is hung in Visual Studi...
Hello.
Does anyone knows about a webproxy ( preferably written in Java ) that can be used to trace the http request my app does to a 3rd party webservice?
I'm using an IDE that automatically creates a ws-client based on the WSDL.
I execute the code generated and I'm getting a 500 error, I would like to know what the soap request is.
...
Hi,
I am so used to attach a process when debugging ASP.NET application in .NET 2.0 and VS.NET 2005. I don't know what happened to this functionality in VS.NET 2008.
I also don't want to do debugging by starting from the start page because when the application is big enough you don't want it to be compiled and you sometimes cannot catc...