debugging

'Start Debugging' takes forever in VisualStudio 2005

不羁岁月 提交于 2020-01-01 16:51:10
问题 I have a large project that has > 1000 files. When I press the green 'Play' button to start debugging, once everything is built, it can take up to 5 minutes for the app to start running. It looks like Visual Studio is loading and unloading various DLLs, but it also just sits there occasionally doing nothing. Running from the command line takes only a few seconds. What's going on? How can I speed it up? [EDIT] It turned out to be our Symbol Server. The administrator had killed it without

PyCharm debugger doesn't work

笑着哭i 提交于 2020-01-01 15:06:56
问题 I just downloaded PyCharm community edition and every time I try to debug any Python program in PyCharm, I get this error: C:\Python31\python.exe "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2016.1\helpers\pydev\pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 59207 --file C:/Users/Gal/PycharmProjects/untitled/test.py pydev debugger: process 5388 is connecting Connected to pydev debugger (build 145.260) Traceback (most recent call last): File "C:\Program Files (x86

objective C log method call [duplicate]

那年仲夏 提交于 2020-01-01 14:57:07
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How to pass all arguments of a method into NSLog? I can setup a macro printCommand to log the receiver and selector of a method call as follows: #define printMethodCall NSLog (@"%@ %@", self, NSStringFromSelector(_cmd)); Question -- can the above be extended to log all arguments that were passed with the method call, however few or many, and whatever types, they may be? 回答1: Yes you can do this, but it's quite

How do I fix the safari 6 web inspector so that it works with iOS devices or simulators?

旧街凉风 提交于 2020-01-01 12:36:09
问题 Whenever I try to connect the safari web inspector to a simulator or device running mobile safari in the foreground, the site that I try to inspect never fully loads in the inspector. The DOM never fills out in the dom tree view; i have to collapse and expand the webpage in the resource view to be able to see scripts, images, frames and the like but none of the items that should show a DOM actually do. Touch mode to select a specific dom element by tapping on it on the iphone/ipad doesn't

TPL Break on unhandled exceptions

心已入冬 提交于 2020-01-01 12:07:15
问题 I am using async await as well as Task.Factory.StartNew in my application but one thing that i noticed changed is that visual studio is no more breaking when an unhandled exception occured Here is what i mean by before using await but after i turn a method into a Task and use await It is only captured in the output area in visual studio... BTW : It is very strange for me as i am new to .Net4.5 please excuse me if failed to illustrate what i need specifically but again what i want to know is

iOS Swift No Such File or Directory In Debug-iphoneos

旧时模样 提交于 2020-01-01 11:52:07
问题 Somebody please save me. This is the error I'm getting. I've tried cleaning, doing a build clean, pod installs and updates. I have not found a solution. Shell Script Invocation Error Group /Users/arthuraraujo/Library/Developer/Xcode/DerivedData/Anti-Social_Club-gizjofrkxroutxezxlbuadlvpwbo/Build/Products/Debug-iphoneos/Anti-Social: No such file or directory 回答1: I have similar issues in the past and doing the following work for me. Hope your problem is same as mine: Close xCode Go to this

WinDBG - Finding the actual (unmanaged) exception

允我心安 提交于 2020-01-01 11:51:33
问题 I'm trying to find the actual exception in a managed-unmanaged mixed code. The problem is that I have a .Net class that catches all unhandled exceptions and then creates a dump, so when i look at the dump there's mixed managed-unmanaged code, and i can't really get to the actual unmanaged exception. And to make things worse, the .Net seems to have its own exception so !analyze -v gives me that exception. So, here is what I have: I can find where the exception happened (by finding the 1003f

WinDBG - Finding the actual (unmanaged) exception

倾然丶 夕夏残阳落幕 提交于 2020-01-01 11:51:11
问题 I'm trying to find the actual exception in a managed-unmanaged mixed code. The problem is that I have a .Net class that catches all unhandled exceptions and then creates a dump, so when i look at the dump there's mixed managed-unmanaged code, and i can't really get to the actual unmanaged exception. And to make things worse, the .Net seems to have its own exception so !analyze -v gives me that exception. So, here is what I have: I can find where the exception happened (by finding the 1003f

iOS Swift No Such File or Directory In Debug-iphoneos

。_饼干妹妹 提交于 2020-01-01 11:51:04
问题 Somebody please save me. This is the error I'm getting. I've tried cleaning, doing a build clean, pod installs and updates. I have not found a solution. Shell Script Invocation Error Group /Users/arthuraraujo/Library/Developer/Xcode/DerivedData/Anti-Social_Club-gizjofrkxroutxezxlbuadlvpwbo/Build/Products/Debug-iphoneos/Anti-Social: No such file or directory 回答1: I have similar issues in the past and doing the following work for me. Hope your problem is same as mine: Close xCode Go to this

Eclipse Luna gives NullPointerException when debugging hits a breakpoint

有些话、适合烂在心里 提交于 2020-01-01 11:36:48
问题 Whenever I hit a breakpoint in my code, I see an obnoxious dialog informing me that "Perspective switch job has encountered a problem", the details of which simply say "NullPointerException". The error log shows this stack trace: java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.showPart(WorkbenchPage.java:1298) at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1269) at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:4144) at org