Is it possible to include WinDbg in the list of debuggers shown by vsjitdebugger when the latter is configured as the default debuuger in HKLM...\AeDebug?
Ideally I would like to be able to include a few more command-lines to the list of choices in vsjitdebugger that are available when a process encounters an unhandled exception: using ...
I'm using pgAdmin III 1.8.4 and finding it a harsh mistress.
When writing stored procedures (functions), there's no query compilation. So I have no idea if my function will work until I call it.
How do other people work around this deficiency? (Other than getting it right first time :p)
...
If I define the Debug constant for my C# Project in visual studio I can be sure that assertions will be evaluated and a messagebox is shown when they fail. But what flag, attribute makes the CLR at runtime actually decide whether a an assertion is evaluated and displayed. Does the assertion code not end up in the IL when DEBUG is define...
What are some of the nastiest, most difficult bugs you have had to track and fix and why?
I am both genuinely curious and knee deep in the process as we speak. So as they say - misery likes company.
...
At my previous employer we used a third party component which basically was just a DLL and a header file. That particular module handled printing in Win32. However, the company that made the component went bankcrupt so I couldn't report a bug I'd found.
So I decided to fix the bug myself and launched the debugger. I was surprised to fin...
I'm working in a new VS2008 installation with an ASP.NET web application project, and for some reason it's not catching exceptions at all. Where I used to get the helpful little green popup in the IDE notifying me of an unhandled exceptions and allowing me to examine the values of local variables etc., it now goes straight to the Yellow ...
This is a jstack output from a running JVM
"FooThread" prio=10 tid=0x00007f159c2ca000 nid=0x6e21 waiting on condition ..snipped
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at com.myco.impl.QueueFooThread.run(Unknown Source)
I want the line number in QueueFooThread to show up l...
These day I come up with a large software.
I have to debug in Visual Studio 2008.
The steps I take are:
Using callstack window to find the code blocks that I i thinks it may have bugs.
Using Immediate windows to call some local functions to see whether the data structures
in this blocks are correct.
When I got the result in step 2,I...
Hi, I want to know if there are method to quickly find bugs in the program.
It seems that the more you master the architecture of your software, the more quickly
you can locate the bugs.
How the programmers improve their ability to find a bug?
...
How can I easily detect when a variable changes value? I would like the execution of the program to break on the debugger whenever a specified variable changes value. Right now I'm using Eclipse's debugger.
...
I just want to step through my program with Visual Studio 2005, but when I try to copy what my teacher (kinda) showed me, I start stepping through some other files that spontaneously appear in my window. They're called random things like "xstring" and "ios" and I'm really frustrated. Please, how do I step through my code?
...
I have a ASP.NET web service that I used to asynchronously save data to my database. I have a button on my webpage that invokes a javascript method which looks through the dom, gathers the data and sends it off to the service.
I'm debugging a problem right now that I believe is happening in this web service, and I would like to debug th...
All the work I've done in C++ have either been to small to require a good debugger or been on windows so I've used Visual Studio at work.
Now I'm faced with a situation where I need to write some C++ while being on Ubuntu, so after looking over some of the alternatives I have when picking between the IDEs I can honestly say I don't have...
Hi,
I have a windows service that has a timer that fires a method every 30 seconds.
The method then calls thread.sleep() and when it finishes it calls thread.start();
All code in the method is wrapped in a try/catch except for the calls to the tread sleep/start.
For some reason the service stops working, but if I recycle it or set it...
So, every time I have written a lambda expression or anonymous method inside a method that I did not get quite right, I am forced to recompile and restart the entire application or unit test framework in order to fix it. This is seriously annoying, and I end up wasting more time than I saved by using these constructs in the first place. ...
I have a project in SSIS and I've added an Execute SQL Task which sends its result out to a variable. I wanted to confirm the value because I was worried that it would try to write it out as a resultset object rather than an actual integer (in this case I'm returning a COUNT).
My first thought was just to run it in debug mode and add th...
I have an Animal base class that I use in some simulation programs. In this case there may be up to 500 Animals in a run. Each run is set up to have each Animal do something each "time step". So I just loop through the list of animals , call DoTimeStep on each one until all the time steps are done for the run.
Each Animal class ha...
I have a native C dll that exports one function besides DllEntryPoint, FuncX. I'm trying to find out how FuncX communicates with it's caller, because it has a void return type and no parameters. When I call it from a C# harness, I get an AccessViolationException - Attempted to read or write protected memory.
I have a hunch that its cl...
I encountered "SYS#0" at the top of a stack and cannot find any documentation as to what that means.
Compiler: g++
OS: Solaris 9
Arch: SPARC
Memory Manager libhoard_32.so from Hoard 3.5.1
We used "gcore" to generate a core file. Looking at the output of running the "pstack" command against the core file, the only thread that was doin...
This has some lengthy background before the actual question, however, it bears some explaining to hopefully weed out some red herrings.
Our application, developed in Microsoft Visual C++ (2005), uses a 3rd party library (whose source code we luckily happen to have) to export a compressed file used in another 3rd party application. The ...