I have an older C++ Windows program that I've been asked to get run in a kiosk style environment for a student project. From the main menu, hitting ESC will exit the program, which is undesirable. In ye olden days I would have trapped the keyboard interrupt or whatever and dug around to NOOP whatever JMP or CALL was getting referenced in...
I use SOS.dll in VisualStudio to debug my C# program. The program is as below.
The debug command is !DumpStackObjects.
class Program
{
static void Main()
{
Int32 result = f(1);
}
static Int32 f(Int32 i)
{
Int32 j = i + 1;
return j; <===========BreakPoint is here
}
}
After I...
While starting my application I get the following warning in Logcat:
04-09 10:28:17.830: WARN/WindowManager(52): Exception when adding starting window
04-09 10:28:17.830: WARN/WindowManager(52): android.view.InflateException: Binary XML file line #24: Error inflating class <unknown>
04-09 10:28:17.830: WARN/WindowManager(52): at and...
I'm using basic healthmonitoring in an ASP.Net website. I'd like to prevent one event with a specific eventcode to appear in the eventlog. All other errors should be logged accordingly.
I'd like to accomplish this using plain web.config settings. However I am unable to get it to work.
Besides that, using IIS 5 on Windows XP does not w...
Most of the software company have old software which continue maintain, and they also develop current / new software. How they manage different versions of program? Is there any tools to help developers maintain software version? thz
...
I'm looking for a quick way to log some data - I seem to remember a way to write to the access log, similar to System.Out.Println() but I can't seem to remember how to do it.
I can't attach a debugger, nor can I add additional information to the web app via Response.Write().
Is there a simple way - a single statement with no configurat...
Breakpoints are great when one knows where the code is being executed. However, I have a problem where my DIV is being manipulated by some unknown code in a library I'm using. Is there a way to basically set a breakpoint on the node and see when children are added or attributes changed?
...
Before I ask this, do note: I want this for debugging purposes. I know that this is going to be some bad black magic, but I want to use it just during debugging so I could identify my objects more easily.
It's like this. I have some object from class A that creates a few B instances as attributes:
class A(object):
def __init__(self...
I have a website in vs2008. I cannot find my .pdb files anywhere after I build.
My build configuration is set to debug. <compilation debug="true"> is in the web config.
Where is my .pdb? There is nothing in my app_code or bin folder. How do I generate these files?
...
I'm considering how to do automatic bug tracking and as part of that I'm wondering what is available to match source code line numbers (or more accurate numbers mapped from instruction pointers via something like addr2line) in one version of a program to the same line in another. (Assume everything is in some kind of source control and i...
I've inherited some python code that contains a rather cryptic decorator. This decorator sets properties in classes all over the project. The problem is that this I have traced my debugging problems to this decorator. Seems it "fubars" all debuggers I've tried and trying to speed up the code with psyco breaks everthing. (Seems psyco and ...
Hi everyone,
I'm kind of a newbie with PHP so please bear with me. I would like to know if there was an effective way of debugging PHP code so that I don't have to have debugging messages display on the browser.
For example, I find var_dump and print_r functions to be excellent for debugging variables, function calls and arrays respect...
In every browser, Win/Mac, Chrome, Safari, Firefox, Opera, IE6, and IE7 they ALL get the following console output:
352
254
But in IE8 I get:
414
434
454
474
Here is my JS/jQuery code:
$('#top-breadcrumbs').children('a').each(function(i){
if(!$(this).hasClass('permanent')){
if(permItemWidth+rmItemWidth > $('#top-bread...
I've to test some low level code on an ARM architecture. Typically experimentation is quite complicated on the real board, so I was thinking about QEMU.
What I'd like to get is some kind of debugging information like printfs or gdb. I know that this is simple with linux since it implements both the device driver for the QEMU Integrator ...
okay,
I am writing a matrix class and have overloaded the function call operator twice. The core of the matrix is a 2D double array. I am using the MinGW GCC compiler called from a windows console.
the first overload is meant to return a double from the array (for viewing an element).
the second overload is meant to return a reference ...
I was wondering how to implement the debuggger mouse over display functionality, U know when u have set a breakpoint in a degugger, say in VS and you hover over a variable and the context is displayed.
I'm curious as to how that would be implemented?
Bob.
...
I would like to output debug messages in my django app at different points in a view function. The docs for the django-debug-toolbar say it uses the build in python logging but I can't find any more information then that. I don't really want to log to a file but to the info pane on the toolbar. How does this work?
...
I would like to use GDB to step though the C++ code that makes up the php.so Apache extension. I want to see what PHP is doing while it's running a PHP application. Preferably I would use an IDE like Netbeans or Eclipse on a LAMP system.
...
It is my GameEngine.h:
#import <Foundation/Foundation.h>
#import "GameArray.h";
@interface GameEngine : NSObject {
GameArray *gameButtonsArray;
}
@property (nonatomic, retain) GameArray *gameButtonsArray;
And this is my GameArray.h:
#import <Foundation/Foundation.h>
#import "MyAppDelegate.h";
@interface GameArray : NSObject {...
I have a rather large and complex game in C#, and in it are various monsters. The monsters are created in the game by a MonsterCreator, and each monster has various plugins that are loaded from external DLLs.
When my monsters die, they call a method in the MonsterCreator, and the MonsterCreator removes them from the game map, removes th...