I recently installed Windows 7 64 bit and Visual Studio 2010 on my new laptop. However the computer hangs (OS freezes + mouse freezes + Visual Studio) for a good 3-5 seconds when Visual Studio attaches to the process. This is really annoying. What is really strange is that this is not happening on my slow 4 year old laptop which run Wind...
I am porting a project over to OS X. I am finding GDB debugging in the console to be woefully insufficient and really need a visual debugger. My project is built using Scons and as such, it sidesteps Xcode's IDE entirely. This is acceptable until I need to fire up a visual debugger and step through my code.
Aside from generating and ...
Hi guys,
I'm setting up PHP Eclipse with Zend Server CE as a debugger.
I start debugging a file, and it opens either in the internal web browser or in Firefox.
However, when stepping through the file, after a minute or so the internal web browser stops waiting for a response and brings up a file download box. e.g. if I was debugging i...
Possible Duplicate:
Layout of compiled objects
Hello, everyone. I'd like to ask, can compiler(e.g. Visual C++) generate a report(.txt) telling struct member offset for a struct/all structs?
If so, it helps debugging quite a lot. For example, when you read disassembler code in the debugger, it can be easier to associate an off...
When I run my C++ program it crashes with this error.
* glibc detected ./load: double free or corruption (!prev):
0x0000000000c6ed50 **
I'm trying to track it down using cout statement but am finding it difficult. Could gdb make this easier? How is it done?
...
By default Xdebug will dump any exception regardless of whether it is caught or not:
try {
throw new Exception();
}
catch (Exception $e) {
}
echo 'life goes on';
With XDebug enabled and the default settings this piece of code will actually output something like the following (nicely formatted):
( ! ) Exception: in /test.php on li...
Hi,
I'm stepping through code using Eclipse PDT. When I mouseover an array it says e.g. "$_SESSION = Array [0]", but won't show me the data.
This is fine for local varaibles as I can see them in the "Variables" window, but it means that I can't see the contents of $_GET, $_POST, $_SESSION.
How do I fix this?
...
I am considering using Spring Security annotations for my application, with the EL (expression language) feature. For example:
@PreAuthorize("hasPermission(#contact, 'admin')")
public void deletePermission(Contact contact, Sid recipient, Permission permission);
I need the EL capability because I have built my own ACL implementation. ...
Hi there.
When editing parts of my project that get called in Application_Start(), i want to have the web app restart every time i press 'Debug', so that i can debug these parts.
But if i dont change the Global.asax.cs self, it doesnt restart and therefore doesnt fire the Application_Start().
Is there any setting or trick to let the ap...
I have a particular type of exception that I would like Visual Studio to not break on and show the Exception Assistant screen. Essentially I would like it just to let my normal exception handling infrastructure deal with it.
The exception is an inheritor of System.Exception which I wrote and have the source code for. Any where this is...
There are many times when I need to test a little snippet of .net code but rebuilding and publishing the entire project or writing a suite of unit tests just seems like overkill. For example, I am writing a regular expression right now and I want to see if it the pattern is matching on the right parts. I could go and find a million other...
I know that you can either step into every property or not step into every property, but I would really like to be able to step into a specific property, and not the rest. Is this possible? (I also know I can use keyboard commands, but I'm asking if there's a more permanent solution.) I have a lot of properties and my setters do importan...
Every so often, things work in my local PHP development environment, while in my test environment on my server, things do not. It's a nightmare to debug this. If I had a console like Rails provides, debugging would be much much simpler.
Is there anything like the Rails console but for PHP?
I should mention that I am using a home-brewn ...
I am debugging a crash using GDB and a core file. A large portion of the memory space is mmapped into the process. That portion of the memory is not saved into the core file. I have a file that contains all the data in that mmapped memory.
I would like to find a way to load the data from that file into GDB at a certain offset so th...
Actually, I'm using a second generation Ipod Touch.
What I'm trying to do is to debug my app on XCode and look for any memory leaks on Instruments at the same time. Is it even possible? Because the "Attach to Process" submenu lists when my app is running (or debugging in this case) but all the items inside this menu are disabled.
All I ...
Hi,
Whenever I rebuild my application and try to step into a break-point the CPU window always appears. From what I understand the CPU window appears when DCU does not match up with the source file, however, in my case the DCU's are defintely being re-compiled and there are no old ones lying around or anything like that.
The strange th...
I use a .mdf database for my asp.net Mvc project. The project is on source control on a tfs.
When I debug the project, Visual Studio copies the database in to the debugmap.
The problem is, when I debug next time, the changes (while testing the previous time) in the database are gone. The reason of this I know, Visual studio copies the o...
I have a Windows service that I'd like to gather some debugging data on using Intellitrace - the problem is that you can't debug a Windows Service by starting it directly from inside VS. I have the service installed, and the very first statement in Service.Start is "Debug.Break", which allows me to attach VS. However, you can't use Intel...
Hey guys. I've got a perplexing issue. In my subclassed UITableViewController my datasource methods lose their tableview reference depending on lines of code I put inside the method. For example, in this code block:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
// Return the number of sections.
return 3;
}
...
I have run into various StackOverflowErrors which occur during cascading. These have been extremely time consuming in debugging because I don't know which properties are being cascaded to cause this recursive behavior. Does anyone know of a log setting or some other form of debugging which could tell me specifically what properties are b...