This question already exists:
Closed 10 years ago.
Possible Duplicate:
Windows Form Developer Tools
Is there anything similar to the browser's developer tools in Winforms?
I want to be able to check while debugging which control is where i'm pointing..
You can use:
Spy++ - a tool shipped with Visual Studio, which allows to view properties of selected windows, threads, processes, or messages.
Hawkeye - a tool that allows you to view, edit, analyze and invoke (almost) any object from a .Net application.
Related
I have just switched from Java-development (where I used IntelliJ) to an old WinForms application in VB.net. I have decided to use Rider, since I really liked IntelliJ.
From what I understand Raider's WinForm designer does not yet support VB.net-WinForms.
So my question is if there is a plugin that supports WinForms designing in Raider (to avoid having to switch to VS and avoid using 2 different IDEs).
The Winforms designer from Rider does only support C# with WinForms under Windows. It has recently added support for other toolkits, maybe in a cross-platform manner.
The answer to your question is no: and I don't think they are going to include since there is probably not enough demand. You can still use Visual Studio for the designer and go back to Rider when that part is finished.
My personal advice is to avoid use any designer. WinForms is really easy to grasp, and there are tutorials out there that make the task even easier.
One possibility would therefore be to get rid of the designer files and manually modify the code. An important outcome is that the project will be then editable in any IDE, not only Visual Studio or others with compatible plugins.
This question already has answers here:
How to access web application class into silverlight application
(2 answers)
Closed 8 years ago.
I am new to silverlight. I have a separate class file in web project and i have to access the class file in silverlight project xaml page.
The Silverlight runtime is separate from the full .Net runtime, so you can't use it directly. Microsoft has come up with two options, that I know of, that allow you to share a single code base across platforms:
Use an RIA service project. This will create copies of your files and generate a separate DLL for Silverlight.
Use portable class libraries. This approach is preferable I think, as it allows you to share a single DLL that is compatible with Silverlight, .Net, (and also Windows Phone and XBox).
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to set breakpoint at the very beginning of program execution
I have an application in C. I am using VS 2008 for the development. I need to debug the C code by attaching the process with the Visual Studio. In normal conditions, the process can be simply attached, but here it is a bit tricky.
Following is the scenario:
The problem is that application gives some unwanted messages as soon as the application is run, i.e. PROCESS is created. The time is too small to get the PID and attach it to the VS.
My question now is:
Can we do something( write some program or there is some workaround) so that we can attach the process as soon as it is created?
Thanks in advance.
Regards,
Abhishek Anand
The easiest way to do so is to set a break point in the start of your source code, and use the Visual Studio to start debugging the application. You can use F5 or Debug|Start Debugging menu item to do this.
If you have to wait for another process to start your erroring program, then download and install "Debugging Tools For Windows" if you have not already got it. It can be found here: http://msdn.microsoft.com/en-us/windows/hardware/gg463009.aspx
It is free debugging tools from Microsoft for debugging on all supported Windows OS.
It includes an utility called GFlags. Use GFlags to set the automatic debug options on your target program. This is the easiest way to set your system to start a debugger that will automatically be started up when the target application starts. I prefer to use WinDbg.exe (it is included in the tools package), but you can have Visual Studio start up as your debugger if you prefer.
The link above includes links for Debugging help.
This question already has answers here:
Is it possible to compile .NET IL code to machine code?
(12 answers)
Closed 8 years ago.
Is it possible to develop a WinForms application which when deployed (of course on Windows) will not be dependent to .NET Framework? And How?
Okay, put it this way, I want all the dll's and stuffs to be included in my application, so when installed in a machine, the users don't have to install .NET Framework, something like that. Is it possible?
I don't believe this is possible. You can however include the .NET client installer into the installer for your application:
http://www.microsoft.com/download/en/details.aspx?id=24872
There is an article on MSDN about redistribution of the .NET framework:
http://msdn.microsoft.com/en-us/library/ms994395.aspx
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 9 months ago.
Improve this question
Is their any profilers that support Silverlight? I have tried ANTS (Version 3.1) without any success? Does version 4 support it? Any other products I can try?
Updated
since the release of Silverlight 4, it is now possible to do full profiling on SL applications... check out this article on the topic
At PDC, I announced that Silverlight 4 came with the new CoreCLR capability of being profile-able by the VS2010 profilers: this means that for the first time, we give you the power to profile the managed and native code (user or platform) used by a Silverlight application. woohoo. kudos to the CLR team.
Sidenote: From silverlight 1-3, one could only use things like xperf (see XPerf: A CPU Sampler for Silverlight) which is very powerful to see the layout/text/media/gfx/etc pipelines, but only gives the native callstack.)
From SilverLite (PDC video, TechEd Iceland, VS2010, profiling, Silverlight 4)
Install XPerf and xperfview as available here: http://msdn.microsoft.com/en-us/library/cc305218.aspx
(1) Startup your sample
(2) xperf -on base
(3) wait for a bit
(4) xperf –d myprofile.etl
(5) when this is done, set your symbol path:
set _NT_SYMBOL_PATH= srvC:\symbolshttp://msdl.microsoft.com/downloads/symbols
(6) xperfview myprofile.etl
(7) Trace -> Load Symbols
Select the area of the CPU graph that you want to see
Right-click and select Summary Table
(8) Accept the EULA for using symbols, expand IExplore, expand agcore.dll or whatever is your top module
Visual Studio 2010 (with the Silverlight 4 tools) comes with command line support for profiling Silverlight apps.
Full instructions for profiling SL4 can be found at: http://www.nachmore.com/2010/profiling-silverlight-4-with-visual-studio-2010/
Try JetBrains dotTrace performance profiler.
Here is the detail how to:
http://confluence.jetbrains.net/display/NetProf/How+to+profile+silverlight+application
Here is a detailed blog entry about using XPerf... Also check out this video (at PDC) about profiling silverlight!!!
AtoLogic SilverProfiler should work for you. See http://www.atologic.com
SL 4.0 has coreclr etw events. Should be able to diagnose exception,gc, threading and few others using the XPERF and Perfmonitor and clr etw. I have blogged about this.
FYI using Perfmonitor should be able to provide call-stacks.
ETW is available only in Windows.
I like RedGate ANTS. I find it to be a much nicer profiler than dotTrace.