Hi,
I want to open a separate dialog box when I cllick on a button on my main dialog. I used separateDialog.DoModal() to do it. It open successfully but when I try to add data to a edit control (text box) in that seperate dialog, a debug assertion failure occurs. What is the matter and how can I overcome it?
This is what I did:
void C...
I'm new to funcctional programming and have some questions regarding coding style and debugging.
I'm under the impression that one should avoid storing results from funcction calls in a temp variable and then return that variable
e.g.
let someFunc foo =
let result = match foo with
| x -> ...
| y -...
Is there a way to configure the directory where core dump files are placed for a specific process?
I have a daemon process written in C++ for which I would like to configure the core dump directory. Optionally the filename pattern should be configurable, too.
I know about /proc/sys/kernel/core_pattern, however this would change the pat...
Hey SO,
This might be a long shot, but I'm having a bug that I'm fairly sure is specific to my program. I'm animating something, and between then the animation starts and stops, something is influencing my animated view, and changing it's size.
I was wondering if there was a way in the debugger, or really in anything to see what's inf...
I'm debugging in VS2010, and I want to inspect a string value but all I can get the debugger to show me (through watches, hovering, locals, etc.) is:
"System.Linq.Enumerable+<TakeIterator>d__3a`1[System.Char]"
I don't care if there are side effects from premature evaluation or whatever, I just want to see what the expression would ev...
When I run GDB against a program which loads a .so which is linked to pthreads, GDB reports error "Cannot find new threads: generic error".
Note that executable that I run is not linked with pthreads.
Any clues?
$ gdb --args lua -lluarocks.require
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv...
I've installed RAD Studio 2009 for Delphi & I want to be able to step in the system library units, such as SysUtils.pas & alike, but it seems that they where not installed with the IDE.
Is there any installation option to do this? Appreciate any help with this issue.
...
Recently i've found myself writing a lot of methods with what i can only think to call debugging scaffolding. Here's an example:
public static void printArray (String[] array, boolean bug)
{
for (int i = 0; i<array.lenght; i++)
{
if (bug) System.out.print (i) ; //this line is what i'm calling the debugging scaffoldi...
Hi guys,
I am confused over something (what is new!). I have an iPhone program I am writing and using some sqlite in a certain method, and there is some error which is giving me a message that says
"Program received signal: “EXC_BAD_ACCESS”
Okay, so I am trying to hunt down why this is doing this, and I notice something: When I run t...
In Visual Studio's Attach to Process dialog, one of the columns in the Available Processes list is "Title", which lists the title of the topmost window owned by each process.
We spawn multiple instances of several server processes in order to compartmentalize the work. For these console processes, the Title field is blank, so currently...
This jQuery statement works in recent versions of Firefox and Chrome but throws an error in IE 8.
left_bar_string = "<tr><td><a href='#' onclick= "return newPopUpWindow('somelink','window', '1000','800','100','0','yes')">Directions</a></td></tr>";
$("#side_bar").append(left_bar_string);
I think problem is with double quotes. Any com...
I would like, if for no other reason that an academic exercise, to be able to read text written to a form on a Windows Application. The program appears to be written in non-.NET, but in .NET terms, I think you would describe the program as having a Form with a Label and I would like to read the text from that label.
I believe I can see...
How do I set up gdb on window so that it does not allow a program with assertion failure to terminate? I intend to check the stack trace and variables in the program.
For example, running this test.cpp program compiled with MinGW 'g++ -g test.cpp -o test' in gdb:
#include <cassert>
int main(int argc, char ** argv) { assert(1==2); retu...
I'm developing a static library in Obj-C for a CocoaTouch project. I've added unit testing to my Xcode project by using the built in OCUnit framework. I can run tests successfully upon building the project and everything looks good. However I'm a little confused about something.
Part of what the static library does is to connect to a UR...
Hello,
The big problem : mysql does not stores the information i told him to via PHP
Example (this req is an echo just before the query) :
INSERT INTO serveur (GSP_nom , IPserv, port, tickrate, membre, nomPays, finContrat, type, jeux, slot, ipClient, email)
VALUES ( 'ckras', '88.191.88.57', '37060', '100' , '', 'Allemagne','20110519...
I see output like this in my DMP file:
Heap entries for Segment00 in Heap 00150000
00150640: 00640 . 00040 [01] - busy (40)
00150680: 00040 . 01808 [01] - busy (1800)
00151e88: 01808 . 00210 [01] - busy (208)
00152098: 00210 . 00228 [00]
001522c0: 00228 . 00030 [01] - busy (22)
001522f0: 00030 . 00018 [01] - busy...
Sometime back I used a windows tool to see what a process is doing. This tool allowed me to inspect functions exported from DLL. It also allowed me to change the values passed to a function on the fly.
I cannot recollect the name(not sure if that was free or commercial one). Could any one point to me solution that can do this?
(Tools ...
I've installed XCode 3.2 on top of Snow Leopard 10.6.2. When trying to "build and run" an application created from XCode template, the emulator is always opened in iPad mode. When choosing "iPhone" from the emulator menu, it changes its look but next time it is opened as iPad again.
How to cause the emulator to run in iPhone mode ?
...
We are running reliability test on our application and looking for crash failures. We have a scripting language built in that exercises the application. The crash may take minutes or days to occur. We are starting it up in Visual Studio 2005 and would like Visual Studio to send us an email when it crashes into the debugger. Does anyone...
Hey guys, i've got a problem debugging an iphone app that i'm attempting to write and it's got me stumped, bear with me, i'm a n00b to programming and might get some of the terminology wrong but i'll try to explain it as best as i can.
The app gets an XML doc from the a web site, parses it into an array, and then displays it in a table ...