I opened up Snoop today so I could inspect some properties of my WPF program's window. And the Snoop "bar" is just a line! It is 1 to 3 pixels tall.
I have no idea how I got it that way, but how do I fix it??
I found a folder in my user's AppData\Roaming folder that contained the words "Cory Plotts" and "Snoop" in it. I deleted that folder and when I restarted Snoop, it opened normally.
Related
My computer recently keeps running out of space whenever I'm using Xcode with the simulator. I kept thinking it was the swap space so I eventually bit the bullet and cleared 100GB on my computer, only to have it entirely filled up again.
Some research found that the file /Users/itai/Library/Developer/CoreSimulator/Devices/{some random ID}/data/Containers/Bundle/Application/{some random ID}/{MySwiftAppName}.app weighed 100GB!!
Clicking show package contents revealed a folder inside called "System" that had literally the entire iOS system in there (Podcasts app, mail app, etc. etc.) and running ls -la in terminal did not reveal it to be a link to another folder
Any ideas why this happened and how to keep it from happening again? And whether this system folder really is okay to delete it or if I am slowly going to find out that I need to re-install Xcode with new simulators?
Using D2007. Sometimes breakpoints will not disappear. I can remove them from the unit and run the program; and the debugger will break because the breakpoint has resurrected itself.
If I remove the breakpoint and close and reopen the file, it comes back.
I did discover what the issue was some years ago. But I can no longer remember. Does anyone has a clue ?
I remember now that I deleted them from the Breakpoints View last time. I decided to try the file deletion as suggested by David.
I changed to a different project group, deleted the breakpoints section from the dsk file of the original project group and switched back. But the breakpoints came back. So I exited the IDE and deleted that section and restarted - and now they are gone.
I was intrigued as to why this happened, so I looked at the backup of the dsk file. I discovered the breakpoints were pointing to files on the C drive which is where the source used to be. I shifted them to the E drive a few years ago when I went to Windows 7.
It would appear that when it applies them it disregards the drive. But when you try to delete them, it tries to match the whole path.
While I was working on this Xcode project, compile and run an app, the two files suddenly gone!!!
It was working fine and I run the app a few times already. Anybody has any clue why is it happening?
My Mac is warning for Disk Space recently. Would it be something related?
Please help...I have been working on the project for a few weeks already. Anyway I could recover what I lost? I archive it a few hours ago into an IPA, can I recover the lost files from there?
Thanks a lot.
EDIT-------------------------------------
The Files are gone and I have to work for 12 hours to get my app back to running as it was before.
I think the problem was that my Mac was out of Disk Space, and when I tried to run, the AutoSave from Xcode failed to save. And for some reason the failure caused Xcode the delete the file when saving failed.
Learning from the lesson. I will do what folks here suggested from now on:
1) Time Machine
2) Git
3) Periodic zip the project and put on Dropbox and an external hard disk
4) Always ensure there's enough disk space
Thanks all. Hope nobody else would have to go through what I went through.
1) Are you using "Time Machine"? If not, consider this a wake-up call.
2) Use Spotlight (the magnifying glass in the upper right corner of your Macintosh menu) to find those missing files.
3) Once you do find them, delete the old files and re-add them to your project, making sure the "Target Membership" checkboxes are set.
Disk space warning is a good indication that things of this sort could happen. Some say you need to have %50 of the disk free. Whether it's true or not, filling the disk to the point system warning is a serious sign that you should free up enough space.
Sometimes a restart can magically 'find' a file, but I'm sure you tried that already. I'd try to find it in the project folder, or on the disk itself and not through XCode.
Most chances are the files are there, but XCode cannot see them for some reason.
Have you looked in the projects directory?
Also are you using source control (Locally or git) ?
I had the same problem, some of my views on the storyboard disappeared after Xcode crashed. After looking for a while for an answer I noticed the view still shows on the hierarchy panel. checking its properties I noticed that Xcode had changed my width and height properties to 0. Once I restored them, the view shows again. Long story short, check the properties, if the width and height are 0 the view becomes invisible.
I'm using Xcode on a system that belonged to a former employe and I can't type. There's a weird rectangle text cursor blinking and a blank line at the bottom that responds to my key types in a weird manner. If I press a key the text cursor will just get smaller. There's also the location path of the file I'm currently on, I'd also like that to be removed. Thanks
added numbers in red next to each problem.
I suspect your former employee might have customized Xcode or, more possibly, customized the Macintosh to be non-vanilla (maybe it's a Text Input Entry setting or some internationalization or some third party extension or preference pane).
Try doing this: go to the "Text Editing" preferences within Xcode and toggle a few things to see if you have better luck. If that doesn't work, create a new user on the Macintosh and then launch and run Xcode from that new user account.
XVim.xcplugin <-- that was the file causing all of this. After deletion and relunch everything is back to normal. You can find more information about it here: https://github.com/WarWithinMe/xVim
This issue is composed by XVim.xcpluginxc. By deleting this we get free from this issue. For this issue. Please follow these steps.
1.Open the terminal.
2.Type "find ~/ XVim.xcpluginxc". This will list your entire system with this particular file/folder name.
3.From that list copy that particular path having this folder.
4.Type "rm -Rf path that you copied earlier".
5.Press "Enter".
6.type "exit".
Finally close the Terminal & Restart the Xcode.
I have added to the project Alternate Entry Point with argument "init", "auto-run on startup" and "do not display on homescreen" checkboxes checked, so that application could be backed-up and restored. And now I can't delete it from my device... It doesn't appear on Desktop Manager as well.
Please advice :)
I have seen that before... Have you tried removing it with javaloader? Use the -u erase -f followed by your cod file name to force remove it.