473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Is this a correct place to ask questions on GDB

If yes
I am having trouble with debugging C++ constructors.
A lot of code is there in the construcutor and it is becoming
increasingly difficult to debug them as the debugger does not step
into the correct file and line no.

I have changed the dir variable to point to the correct location but
nothing helps.
Can anybody tell me about any suggestions.
Asking here becoz many using C++ will also be using the debugger.

We have a compiler that creates an executable.( the compiler is
written in C++) . now the executable will run calling all these
constructors. Do you think, objcopy or optmizing the symbols names in
the executable leads to GDB behaving wonky
-Parag

Sep 23 '07 #1
2 1043
parag_paul wrote:
I am having trouble with debugging C++ constructors.
What do your unit tests say about them?
the executable leads to GDB behaving wonky
You'll get the best answer on GDB's home forum. This newsgroup is only
qualified to discuss the raw C++ language itself.

--
Phlip
Sep 23 '07 #2
pa********@hotmail.com wrote:
If yes
No.

Try gnu.g++.help
Sep 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert | last post by:
Hello, Can anyone help with this code? I need to split a long piece of text from a textarea box into small chunks, then POST these chunks to my credit-card provider, whereupon he will POST...
4
by: cmo63126 | last post by:
I'm not sure if this is bad design or not. It seems flawed, but I'm not sure. Is it wrong to create an instance of a class within the class itself? Any feedback appreciated. public class...
12
by: ranjeet.gupta | last post by:
Dear All we all are familiar with the calloc and malloc, Now we know that calloc does the initialisation which is not achived in the malloc while allocatings bytes for diffrent data types. ...
102
by: Skybuck Flying | last post by:
Sometime ago on the comp.lang.c, I saw a teacher's post asking why C compilers produce so many error messages as soon as a closing bracket is missing. The response was simply because the compiler...
0
by: Atara | last post by:
regarding the answers I got from the thread "Does each "New" needs a corresponding "Dispose" " (http://www.developersdex.com/vb/message.asp?p=&r=3582570&page=2) I have some questions: Till now,...
13
by: Dr. Zharkov | last post by:
Hello. A problem in the following. In VB .NET 2003 we create the project and in file Form1.vb the following code is written down: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As...
6
by: stephen.cunliffe | last post by:
Hi, I'm looking for opinion/facts/arguments on the correct nesting of UL, OL, & LI elements. For example, this is what I want (unordered list): * Item 1 * Item 2 * Item 3
2
by: k3nTm | last post by:
please help me about my project. It is a simple Quiz engine that i can add questions as well as its answer. I will be using a data set. I would like that the questions will be place randomly to the...
0
by: Terry Reedy | last post by:
Tim Cook wrote: Child.__init__(self,a,b) # requires all three params. In this simple case, I would probably do what you did. But a reason to call the baseclass init would be to not repeat...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.