Hello,
I am writing some class and it wont compile without "using System.Linq". But i don't understand why its needed. What i am writing has nothing to do with Linq. How can i find out where a namespace is used?
And the very badly written piece of code (I am trying to figure out what i want it to do):
using System;
using System.Collecti...
I just applied one account from asphostcentral then upload published asp.net mvc application on to that server, but i got an 500 errors, my application is KIGG. I just want to know how can I figure out how can I view errors in detail?
...
In visual studio 2003's project settings, I specified the java.exe as the program to execute when debugging. I set the working directory in which the JNI dlland JNI jar is available.
I set the class paths and the command line arguments which I would pass to java in the program arguments.
The java file which I am using is compiled with ...
Hi,
I'm an experienced java vet learning C# + .NET. I'd like to know how I can configure my IDE(VS2008) / solution to step into another library's source code from my own project / solution.
For example:
- I've created my VS solution "MyWidgetSolution"
- I've added references to commons-logging-net / any open source c# library
Whil...
I have an application that has two distinct parts, one operation that process data and adds it to a database and a second operation that retrieves the data and makes a report. Is there a way to tell the debugger to start at the second operation of the application? Previously I've commented out what I didn't want to run and worked aroun...
I've written an app that connects to websites APIs and does some things there. It is a app written in C#, .NET 3.5 on a XP OS.
Now I have a problem. Some people reported that this application hangs on Vista, and not on the more new version of Windows (what was the name?)
So I do not have Vista and do not have money to buy this system ...
I have to perform some post mortem debugging on a C++ project.
Known way to perform is to set the cdb debugger as a minidump generator and to process the dumps collects afterwards.
I read nearly the whole web and I didn't find a solution to produce a minidump with the name of the process that has crashed
Is there a way to set AeDebug\De...
I want to add a breakpoint in a class in Eclipse, but I don't have the source code for it. Is it possible to add a breakpoint in it anyway? In my case I really only need to know when a method is called.
(As a side note: does anyone have the source code for j2ee_api_1_3.jar?)
...
Hi folks
During debugging the console always spits me an error message: "Break on _NSLockError() to debug"
My assumption is: in XCode i have to appear a certain breackpoint, so that the debugger stops at the point where this error occurs.
How can i make this?
...
Does any one know if there is a way to dump only a chunk of memory to disk using VS? Basically, I want to give it an address and a length, and have it write the memory to disk. That way I can do a binary diff.
Thanks.
...
Hi, I'm using Visual Studio 2008 trying to debug a C# project. I had some code in one project, and then I merged the code from that project into another one(which didn't affect my code at all). Well, now using this new project variable watches don't work.. like At all.
Like for I have a List<String> elements; and in the old project I ca...
After I recompile my project it generates a gazillion erros of the following:
Warning CS0436
The type 'AAA.Data.Report' in 'E:\Projects\AAA\AAA\Data\Entities.Designer.cs' conflicts with the imported type 'AAA.Data.Report' in 'e:\Projects\AAA\AAA\bin\Rlp.dll'. Using the type defined in 'E:\Projects\AAA\AAA\Data\Entities.Designer.cs'.
Fil...
I'd like to know how debugging is achieved in a lazy functional language.
Can you use breakpoints, print statements and traditional techniques? Is this even a good idea?
It is my understanding that pure functional programming does not allow side-effects, with the exception of monads.
Order of execution is also not guaranteed.
Would you h...
Is there any way to remote debug a web service on my local machine that is being hosted by Cassini?
ie On my local machine I can browse to http:// localhost:1234/webservice, but I cannot go to another machine and access http:// ip_address_of_my_machine:1234/webservice.
Is there a way?
Thanks,
Jon
...
Here is the stacktrace:
...
org.apache.jsp.showcustomer_jsp._jspService(showcustomer_jsp.java:128)
org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
This is what I do:
Get the line number from the stacktrace, in this case 128.
Find the showcustomer_jsp.java file (and it isn't exactly obvious to look in /var/run/tomcat-6/...
I am looking for a way to locate all current instances on the heap of types that implement a given interface (during WinDbg debugging that is). As interfaces are not types in the sense that you can create instances of an interface, they obviously do not show up when inspecting the heap. I.e. !dumpheap is of little help here.
However, !d...
Hello! I have some project consisting of a couple of DLL's which have been compiled with MinGW with debug information, and another project with EXE target which uses these DLLs (compiled with MinGW too).
The problem is, I need to put breakpoints on functions inside those DLLs, but GDB, although sets them, just silently ignores them at ...
Can anyone point me in decent documentation for the Trace system in the .NET Framework?
I feel like I understand TraceListeners reasonably well, along with the TraceSwitch and BooleanSwitch but I can't seem to wrap my head around what exactly the TraceFilter and SourceFilter are supposed to be use for and how to effectively apply them...
When I am debugging my application and I pause the application, looking through the debug window, there is a window which shows the name and value of all my variables. However, for ArrayCollections, it shows something like "(@B3FB02)" instead of the value. I know I can get the values of the various items inside the array by clicking th...
I have a WCF test service and a test client in the same solution. The service is configured to run on localhost (Ie, "http://localhost:8731/Design_Time_Addresses/MyService/Service") I run the client app and it correctly invokes the service and gets back the correct answer. I've verified via logs that it's definitely running the service t...