I have a .net 2.0 WinForms application that uses .net remoting to connect to a server in our DMZ. That side of it is running fine, but I want to debug the services I've installed on that machine. I can get everything set up fine, but as soon as I have to restart Visual Studio 2008, the port used to connect back to my machine changes, and...
I have created the breakpoint and started the project in debug mode. But still the execution does not stop at the breakpoints.
I also have some junit classes in the same project, breakpoints are working fine in the junit class.
So can anybody suggest a solution?
Thanks in advance.
...
Every now and then (ahem...) my code crashes on some system; quite often, my users send screenshots of Windows crash dialogs. For instance, I recently received this:
Unhandled win32 exception @ 0x3a009598 in launcher2g.exe:
0xC00000005: Access violation writing location 0x00000000.
It's clear to me (due to the 0xc0000005 code as well...
Hello,
I have spend two days of work trying to figure out a weird problem is happening on my PC.
I am debugging a quite complex old application written in .NET 1.1 that is made by an mdi container that load at runtime different assemblies that implements custom interface as windows form mdi child.
The problem is that on my PC (i tried...
I've modified my run.sh file and added JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n" but when I start JBoss I get FATAL ERROR in native method: No transports initialized.
Looking around the internet it seems like it may having something to do with missing jars or my version of Java? I'm o...
When I run static analysis on the following code:
public ExtractDBScripts(String resBundleName)
{
super();
m_mainBundle = ResourceBundle.getBundle(resBundleName);
}
I get the following error:
"JAVA 0058 Constructor 'ExtractDBScripts' calls super()".
What is wrong with calling super() from a constructor?...
My iphone app randomly received this message. I know certain it is memory release problem. However what is the best way to find which object leads this problem. Here are what I have tried
Use Instrument Leak and
ObjectAllocation Trace. Dont saw any
help to know which object have this
problem
Put NSZombieEnabled=YES and project execut...
People use gdb on and off for debugging,
of course there are lots of other debugging tools
across the varied OSes, with and without GUI and,
maybe other fancy IDE features.
I would like to know what useful gdb scripts you have written and liked.
While, I do not mean a dump of commands in a something.gdb file that you source to pull o...
When debugging my program in the XCode debugger, if I hovered my mouse over an array variable, the XCode debugger used to show me how many objects were in the array and I could even examine the objects themselves.
Somewhere along the line this functionality was broken and now it just says there are "-1812597152 objects" in all my arra...
Hi
When I start a debug session in VS2005 (to debug an ASP.Net web site), The browser is launched but the Debug session ends. VS is not attaching to the worker serive. I can attach manualy to aspnet_wp service and then debug.
Before I not my new works PC this happend automatiacly now its a manual task.
What have I done or forgotten to...
Visual Studio builds the entire solution when I exit debug mode.
This is very annoying as the solution contains 42 projects (ASP.NET MVC, IIS hosted WCF, Silverlight apps and others) and the build process locks Visual Studio for aprox. 30 seconds.
What causes Visual Studio to do a full rebuild of the solution? Is there a setting that I...
The Visual Studio autoexp.dat syntax allows you to display ‘the name of the most-derived type of the object’ with the 'special format' <,t>, which is very helpful if you have lots of derived types. From the syntax, I assumed that you could do the same thing for members, such as <member,t>, but when I try that the preview only shows ???
...
I'm planning to add extensive diagnostics into my software. Right now I'm thinking about overall strategy of how to do this, because adding such code simply ad hoc can result in serious mess.
Do you have any experience in this?
I want to monitor:
How intensively objects from selected subset are created.
How intensively selected metho...
Essentially, what I'm looking for is a function that would allow me to do something like this:
Dumper(some_obj); /* outputs some_objs' data structure */
Thanks.
...
When debugging in Visual Studio 2008 I get the error "There is no source code available for the current location" but it does not prompt me to browse for source code. If I click "Show Disasembly" and then right click to select "Go to source code" I get the error "The source code cannot be displayed.
How do I load the source code while ...
I maintain an old application written in VB6. In client's environment it raises runtime errors which I can't reproduce under debugger. Is there any way to get the stacktrace or location of error?
I mean, without putting trace statements all over the code like here or adding error handlers for logging to every procedure like here.
It se...
Hi all.
I'm running a C# program on Visual Studio 2008
It freezes at some point, and when I try to pause for debugging, VS2008 freezes also.
when I close the program console window it pops up a "unable to break execution" message box.
When could be the cause of this?
Thanks
Roey
...
Having recently learned of the DebuggerDisplay attribute, I've found it quite useful. However, one thing that surprises me is that it doesn't have a [ConditionalAttribute("DEBUG")] attribute attached to it. Is there some way to force this or is it a bad idea to try? Or does it not matter for some other reason?
...
See this question on how to break on any exceptions.
I'm getting a million exceptions on startup. I've tried ignoring ClassNotFoundException, but it's no good, the IDE still seems to break on these (and other) exceptions.
So .. what's a decent configuration for this to catch only real exceptions caught from user code? (Ignore also any ...
I've got a class which inherits from a List<MagicBean>. It works well and as expected in all respects except one: when I add the [DebuggerDisplay] attribute. Even though looking at List has its as [DebuggerDisplay("Count = {Count}")], if I so much as copy and paste that onto mine, I lose the ability to look directly at all of the MagicBe...