473,385 Members | 1,356 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,385 software developers and data experts.

Cross Debugging

Helo everybdy, I would like to ask if there is any way to debug ( I am
trying MingW-gdb) a dll compiled with Mingw g++ witch is being used by
Microsoft Excel application.
Has anyone had problems on this subject?

Thanks in advance.
Nov 16 '07 #1
8 2044
Maikon Araujo wrote:
Helo everybdy, I would like to ask if there is any way to debug ( I am
trying MingW-gdb) a dll compiled with Mingw g++ witch is being used by
Microsoft Excel application.
Has anyone had problems on this subject?

Thanks in advance.
Maybe it would be possible to help you if you would
say what the problem is...

Try to start excel under gdb. Then try to put a
breakpoint in your dll when it gets loaded.

Did you attempt something like that?

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32
Nov 16 '07 #2
On 16 nov, 18:59, jacob navia <ja...@nospam.comwrote:
Maikon Araujo wrote:
Helo everybdy, I would like to ask if there is any way to debug ( I am
trying MingW-gdb) a dll compiled with Mingw g++ witch is being used by
Microsoft Excel application.
Has anyone had problems on this subject?
Thanks in advance.

Maybe it would be possible to help you if you would
say what the problem is...

Try to start excel under gdb. Then try to put a
breakpoint in your dll when it gets loaded.

Did you attempt something like that?

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatiquehttp://www.cs.virginia.edu/~lcc-win32
I am trying to do it inside eclipse CDT, and when I put the breakpoint
I see a warning saying: "Unresolved breakpoint".
Nov 16 '07 #3
Maikon Araujo wrote:
On 16 nov, 18:59, jacob navia <ja...@nospam.comwrote:
>Maikon Araujo wrote:
>>Helo everybdy, I would like to ask if there is any way to debug ( I am
trying MingW-gdb) a dll compiled with Mingw g++ witch is being used by
Microsoft Excel application.
Has anyone had problems on this subject?
Thanks in advance.
Maybe it would be possible to help you if you would
say what the problem is...

Try to start excel under gdb. Then try to put a
breakpoint in your dll when it gets loaded.

Did you attempt something like that?

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatiquehttp://www.cs.virginia.edu/~lcc-win32

I am trying to do it inside eclipse CDT, and when I put the breakpoint
I see a warning saying: "Unresolved breakpoint".
Yes of course. Very probably your dll isn't even loaded
at the start of excel. You should put the breakpoint when
your dll is loaded!
--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32
Nov 16 '07 #4
Maikon Araujo wrote:
Helo everybdy, I would like to ask if there is any way to debug ( I am
trying MingW-gdb) a dll compiled with Mingw g++ witch is being used by
Microsoft Excel application.
Has anyone had problems on this subject?
This question is completely offtopic for this group, which discusses
C, as you'd know if you'd bothered to find out about it before dumping
your query here. You'll get much better answers in
microsoft.public.excel.

You should ignore any advice you get from Navia - he is a known crank
who specializes in giving out false or misleading information to
gullible newbies.
Nov 16 '07 #5
ro*******@mailinator.com said:
You should ignore any advice you get from Navia - he is a known crank
who specializes in giving out false or misleading information to
gullible newbies.
And he should instead take advice from someone with no track record of
providing good advice?

If you want anyone to pay attention to your views on group dynamics, the
way to do that is massively to increase the percentage of your articles in
which you dispense high quality C advice, from the current level, which
would seem to be 0.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Nov 16 '07 #6
jacob navia wrote, On 16/11/07 21:59:
Maikon Araujo wrote:
>Helo everybdy, I would like to ask if there is any way to debug ( I am
trying MingW-gdb) a dll compiled with Mingw g++ witch is being used by
Microsoft Excel application.
Has anyone had problems on this subject?

Thanks in advance.

Maybe it would be possible to help you if you would
say what the problem is...
<snip>

You failed to give the most important piece of advice, Jacob. Take it to
a group or mailing list where there are experts on gdb and/or mingw. For
example one of the lists of forums listed here
http://www.mingw.org/lists.shtml is likely to have far more people who
will know about problems like this than a group dedicated to C programming.

Oh, and even if we did tools here this would still be the wrong group
since g++ is a C++ compiler, and C is not the same language as C++.
--
Flash Gordon
Nov 16 '07 #7
On 16 nov, 19:15, Flash Gordon <s...@flash-gordon.me.ukwrote:
jacob navia wrote, On 16/11/07 21:59:
Maikon Araujo wrote:
Helo everybdy, I would like to ask if there is any way to debug ( I am
trying MingW-gdb) a dll compiled with Mingw g++ witch is being used by
Microsoft Excel application.
Has anyone had problems on this subject?
Thanks in advance.
Maybe it would be possible to help you if you would
say what the problem is...

<snip>

You failed to give the most important piece of advice, Jacob. Take it to
a group or mailing list where there are experts on gdb and/or mingw. For
example one of the lists of forums listed herehttp://www.mingw.org/lists.shtmlis likely to have far more people who
will know about problems like this than a group dedicated to C programming.

Oh, and even if we did tools here this would still be the wrong group
since g++ is a C++ compiler, and C is not the same language as C++.
--
Flash Gordon
Tks Flash, I will look in that list.
Nov 17 '07 #8
On 16 nov, 22:00, Maikon Araujo <maikonara...@gmail.comwrote:
On 16 nov, 19:15, Flash Gordon <s...@flash-gordon.me.ukwrote:
jacob navia wrote, On 16/11/07 21:59:
Maikon Araujo wrote:
>Helo everybdy, I would like to ask if there is any way to debug ( I am
>trying MingW-gdb) a dll compiled with Mingw g++ witch is being used by
>Microsoft Excel application.
>Has anyone had problems on this subject?
>Thanks in advance.
Maybe it would be possible to help you if you would
say what the problem is...
<snip>
You failed to give the most important piece of advice, Jacob. Take it to
a group or mailing list where there are experts on gdb and/or mingw. For
example one of the lists of forums listed herehttp://www.mingw.org/lists.shtmlislikely to have far more people who
will know about problems like this than a group dedicated to C programming.
Oh, and even if we did tools here this would still be the wrong group
since g++ is a C++ compiler, and C is not the same language as C++.
--
Flash Gordon

Tks Flash, I will look in that list.
Just to finish, I found the solution, I don't know why I but I need to
send an interruption

asm("int $3;");

from my code. After doing that in my code gdb stops in that line. As a
result only after doing that I become able to add more breakpoints
from eclipse CDT IDE.

Thanks Again.
Nov 17 '07 #9

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

Similar topics

4
by: Gerhard Pretorius | last post by:
ON Win 2003 IIS6, Since yesterday, (12 Aug 2003) for some strange reason, (after installing WindowsServer2003-KB823980-x86-ENU.exe) I cannot pass the Request object to to VB COM DLL. I have...
16
by: Java script Dude | last post by:
To all Mozilla JS Guru's (IE dudes welcome), I have spent the last three years developing complex DHTML applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to do all my...
5
by: Sean Kirkpatrick | last post by:
I'm sure you'll look at this question and wonder if I've been sniffing glue. I haven't, really. My legacy app is written in VB6 and we're chipping away at converting it to .Net. I badly need to...
0
by: matsla | last post by:
I have followed all guide lines to set up remote debugging but is it possible to do cross-domain remote debugging? I use same account/password on both computers (XP => 2003), added users to debug...
4
by: Mau Kae Horng | last post by:
Hello, I have a C# Windows Forms application for machine. Due to some unknown reasons, the application face problems with unexpected exceptions happening, resulting in two red lines forming a...
7
by: Janiv Ratson | last post by:
Hello, We are going to develop our application from scratch. The application is currently written for WIN32 users only, using MFC. The requirements asks that the application will run (in the...
10
by: Christopher Nelson | last post by:
I've been developing a little web page full of JavaScript while using Firefox and it works well but when I try to view it in Opera and IE, it's incomplete. I suspect cross-browser issues in the...
6
by: Joe | last post by:
I've been getting this message at all different times since a few days ago. I understand the message but not why I get it. I don't have any other threads. This happens when closing dialog boxes,...
2
by: akhilesh.noida | last post by:
I am trying to compile glibc-2.5 for ARM based board. But I am getting errors while configuring it. Please check and give your inputs for resolving this. configure command : $...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.