Hi,
I find this behavior of TryCast in .NET 4.0 / VS 2010 rather confusing.
In my understanding TryCast works like DirectCast, but will return Nothing instead of throwing an exception if a conversion is not possible.
VS 2010 / .NET 4
?TryCast(CType(1, Object), String)
Nothing
?DirectCast(CType(1, Object), String)
"1"
VS 2008 / .NET...
hi there
as im developing our site i run into IE specific errors where you would get a warning in the status bar of IE stating "Done but with errors" with the warning icon. once you double click that you get
LINE:203
CHAR:2
ERROR: Object Required
CODE: 0
URL: www.some site.com/some page
do you have any tips on how i could possibly t...
I am using Visual Studio 2005 where my code is a mix of C++-CLI and C#. I would like to be able to view the members of a BindingList at a breakpoint while debugging. Currently, I cannot find where the actual elements are stored via the watch browser. Is this possible?
...
I am writing a python program that seems to be leaking memory.
The program takes in a list of URL's and makes sure their status code is 200. If the status code is not 200, then the script will alert me via email. The script threaded so the URL's can be checked in parallel of each other.
I have set the program on a one of our server...
I had used SosAssistin past and it was awesome, now I i tried to download it again but it is no longer available :( any other tool which can visually show memory/threads/callstack?
...
I'm writing a little developer tool which will (among other things) display exceptions thrown from the code that the tool is currently inspecting. Since it is a developer tool I would like to display as much information about the exception as possible (at the least type, message, stack trace and a recursive InnerException) and do it in a...
How to disable qt creator from auto building when trying to debug?
Currently when debug button is clicked, it automatically starts build. I want to disable this and just proceed to debug.
...
Hi,
I've been using a solution since VS2010 was released. My solution has a number of projects in it. Until a couple of weeks ago, all was fine. All of a sudden, whenever I click the button to start debugging my code, the Visual Studio 2010 installer starts.
It takes around 5 minutes for it to complete and then I am able to debug as no...
I'm trying to get one of our old games to work so we can re-release it. It works other than the fact that when I initially run the executable, I get the following error message:
"There is no disk in the drive. Please insert a disk into drive \Device\Harddisk4\DR4"
Then when I click on either "Cancel" or "Continue" it then goes on to lo...
How do you enable remote debugging in JBoss 5? The usual line from JBoss 4:
set JAVA_OPTS= -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%
As can be found in other answers like this do not seem to work. The server never suspends. Googling "jboss 5 remote debug" doesn't bring up anything in t...
My project has several new C# modules and one C module (not C++) compiled using win32 system calls. I'm using the PInvoke interop layer to call the C code from the C#. The C function is getting called.
All modules are writing to a single bin directory and all write pdb files.
On running, and then stopping at a breakpoint right be...
When shipping software to a client, should debug symbols (.PDBs) be bundled with it? If the client finds a bug or vulnerability in the software, a full stack trace (and a memory dump if possible) would be very helpful for the vendor in reproducing it.
What are the pros/cons of giving clients debug symbols?
...
When I issued clrstack command, I got the following output. It is the callstack of a blocking thread which owns a deadlock and results in a deadlock. Is that its exact purpose? Does it have any other purposes (without any parameters). Where can I get more information?
!clrstack
OS Thread Id: 0x1b2c (6956)
ESP EIP
0012f370 7c9...
The question is to all you people, who use VIM to develop C++ apps.
There was a period in my life, which can be described as
'I hate VIM!!!'..'VIM is nice!'
However, having grown up mostly on MS Dev IDE, I've got used to those F5-F11 shortcuts when debugging code, watch window, call stack and the main code - all visible vithout need to ...
Read about this one:
http://unroller.rubyforge.org/
http://github.com/TylerRick/unroller
Look at the pictures!
Unfortunately, it's very outdated and not actively maintained.
I wonder, are there any other tools similar to this one that can show me what code was just executed, in what file, what the output was and what the return valu...
When trying to run my iOS app on a device, I get the following from GDB, and resulting in my app exiting just right after it started so I never get the chance to debug it. Anyone knows what I'm doing wrong or what I can do to fix it?
GNU gdb 6.3.50-20050815 (Apple version gdb-1470) (Thu May 27 05:54:06 UTC 2010)
Copyright 2004 Free Soft...
Hi,
Often when developing with VS2010 Ultimate, I want to check where in a codebase a value is being set (so where this is an assignment).
Is there a way, using VS2010 Ultimate, or a 3rd party debugging tool, to be able to get all the places in a codebase where a variable has been set or got?
Thanks
...
when I ssued !syncblk command on a deadlocked application from windbg, I got
the following output. It shows which thread holds the lock. But it does not
indicate which threads are waiting for the lock. How can I identify the
threads that are waiting? .
0:004> !syncblk
Index SyncBlock MonitorHeld Recursion Owning Thread Info SyncBlo...
I've been having the most AWFUL time integrating MailChimp into a site I'm designing!
The problem is that validation is not working for the embedded subscribe form. Instead of inlining error messages, the form is kicking the user over to the MailChimp signup page to correct errors or confirm list opt in.
I've done a heavy amount of cu...
I'm trying to debug an application on an embedded device running an old version of Linux/Qtopia. I asked for help on QT forums but the people there don't know about old software and embedded systems. I'd really like some help with debug strategies.
My program will crash after the main window has been constructed, i.e. some time into the...