debugging

DOM attribute change debugging

限于喜欢 提交于 2019-12-28 12:00:28
问题 Somehow somewhere in my code one of the elements on the page gets a style attribute which I don't expect it to get. Namely, it gets style="position:fixed". I can see this happening in HTML tab in Firebug, but can't find it in the code. The application is fairly big and I can't simply look through all of the code to find the place, besides, several third-party libraries are being used (jQuery is one of them). So, my question is, is it possible to somehow catch this style being changed and get

debugging with visual studio using redirected standard input

时光总嘲笑我的痴心妄想 提交于 2019-12-28 11:56:36
问题 I am debugging c++ console application with Visual studio. I exhausted of inserting the same input every time I debug this program. I would like to use the same input more times. I do this without debugging in command line with command: Program.exe < 1.in Is it possible to use debugging with standard input redirected from file??? I already tried looking in to procejt properties. I tried setting Command to $(TargetPath) < 1.in instead of $(TargetPath). I also tried setting Command Arguments to

How do I attach a process to the debugger in Visual Studio?

我们两清 提交于 2019-12-28 11:45:28
问题 I know I can start a process in code with Process.Start() . Is it also possible to attach the debugger to that process? Not from code per se , but just a way to do it? 回答1: You can attach to a running process using Tools | Attach to Process . If it's a Web Application, you can attach to it by attaching to aspnet_wp.exe or w3wp.exe . To answer your question on how to attach to a process programmatically: Attaching to a Process Using VS.NET Automation Model Here are other Stack Overflow

Why does the Stack Trace shows my development files path?

浪子不回头ぞ 提交于 2019-12-28 11:44:13
问题 Visual Studio 2010 SP1, compiled WCF app, put it on a server, and of course it got an error on the first run (what's new), outputted Stack Trace to log file. It's seeing the path to my development environment. Why? Is it because I deployed it as Debug compared to Release or is there something else, or shall I be more careful about outputting Stack Traces regardless? 04/09/2012 03:58:46: Error: Object reference not set to an instance of an object. at App1.Logging.LogMessageToFile(String msg,

How to debug class library that called from external app?

瘦欲@ 提交于 2019-12-28 09:55:05
问题 There is an external workflow that executes C# scripts and is able to work with DLL files(my class library). Is it possible to attach debug to my class library project so breakpoint will hit once this WF will call it? Thanks 回答1: Yes, you can do this with Visual Studio. You have two options: Configure your project to start the external program Open your DLL project. On the properties for the project, go to the Debug tab. Choose Start external program and give the path of the external program

How to debug class library that called from external app?

时光毁灭记忆、已成空白 提交于 2019-12-28 09:54:37
问题 There is an external workflow that executes C# scripts and is able to work with DLL files(my class library). Is it possible to attach debug to my class library project so breakpoint will hit once this WF will call it? Thanks 回答1: Yes, you can do this with Visual Studio. You have two options: Configure your project to start the external program Open your DLL project. On the properties for the project, go to the Debug tab. Choose Start external program and give the path of the external program

How to runtime debug shared libraries?

北城余情 提交于 2019-12-28 08:07:31
问题 Can anyone tell me how to do runtime debugging on shared libraries? I need to runtime-debug a function in my shared library, but its called by another program. How can I do something like dbx with shared libraries? I m using dbx on AIX. is gdb better than dbx for what I m trying to do?. 回答1: You just need to call gdb with the executable (it does not matter if it is yours or a 3rd party one). Here is an example where I debug the ls command and set a breakpoint in the (shared) c library . This

Debugging android apps on the kindle fire

笑着哭i 提交于 2019-12-28 07:58:45
问题 Is debugging Android applications remotely from eclipse supported for Kindle Fire platform? 回答1: According to Amazon's FAQ on Kindle Fire, Kindle Fire has USB debugging enabled by default. To connect Kindle Fire to your Android Debug Bridge (ADB) follow the instructions in this PDF.If you are working with Windows 7 you will need to download and use this driver. They are also providing USB drivers for download for Windows 7 PC. Moreover, we can also emulate Kindle Fire specs on Android

Wireshark vs Firebug vs Fiddler - pros and cons? [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-28 07:36:10
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . Recently, I came across an issue where a CGI application is not responding. Symptom is Firefox displaying: Transferring data from localhost... But the thing is I cannot see any traffic from Firebug's Net panel, and the browser just stays on the same stage forever. I am

Can I commit changes to actual database while debugging C# in Visual Studio?

烂漫一生 提交于 2019-12-28 07:05:07
问题 I am creating a C# application using Visual Studio that uses an SQLExpress database. When I hit f5 to debug the application and make changes to the database I believe what is happening is there is a copy of the database in the bin/debug folder that changes are being made to. However, when I stop the debugging and then hit f5 the next time a new copy of the database is being put in the bin/debug folder so that all the changes made the last time are gone. My question is: Is there a way that