Sunday, July 6th 2008, 2:33pm UTC+1

You are not logged in.

  • Login
  • Register

1

Thursday, January 17th 2008, 1:25pm

Debug problem in Visual Studio 2005

Hi:

I have a question related to debug.
How can I step into Qt's function in debug mode?

I set a break point at a function call, e.g. app->exec();
But F11 failed to get into the function.

What shall I do?
  • Go to the top of the page

macabre13

Trainee

Posts: 127

Location: Poland/ Wroclaw

Occupation: sw developer

2

Thursday, January 17th 2008, 2:40pm

To see what is in app->exec() you will need source of that function. And since you problably use trial of commercial version. Simply forget about it.

Another this that for debugging there is also symbols map file. And that also is needed.

But there is hope for you, if you can read asm output ;)
- ebm - noise - industrial -
I always could be wrong.
Lets share knowledge!
  • Go to the top of the page

3

Thursday, January 17th 2008, 4:30pm

Quoted

Originally posted by macabre13
To see what is in app->exec() you will need source of that function. And since you problably use trial of commercial version. Simply forget about it.

Another this that for debugging there is also symbols map file. And that also is needed.

But there is hope for you, if you can read asm output ;)


I am using commercial edition, and I can find the .cpp file in $(QTDIR)\src.
I am also using visual assist. It can find the declaration of the function (QApplication.h), but cannot find the .cpp file.
  • Go to the top of the page

macabre13

Trainee

Posts: 127

Location: Poland/ Wroclaw

Occupation: sw developer

4

Thursday, January 17th 2008, 7:56pm

No .cpp no debug!

Download oss and check it for QApplication::exec() <-- this may help.
- ebm - noise - industrial -
I always could be wrong.
Lets share knowledge!
  • Go to the top of the page

5

Friday, January 18th 2008, 2:18am

what is oss?
sorry I am very fresh to Qt and Visual Studio.
  • Go to the top of the page

CrackedMind

Beginner

Posts: 34

Location: Russia

Occupation: just programmer

6

Friday, January 18th 2008, 6:43am

Quoted


No .cpp no debug!


it's wrong.

i have the same trouble with Open Source Edtion and Visual Studio 2008 Express Edition.

'Zi' option used in generated qt .vcproj files. For debugging is need 'ZI' option.

I think it will solve the problem.
So you can code punk?
  • Go to the top of the page

macabre13

Trainee

Posts: 127

Location: Poland/ Wroclaw

Occupation: sw developer

7

Friday, January 18th 2008, 7:22am

OSS - Operations Support Systems ( i use this for all open source things)

What is wrong with no .cpp no debig?
- ebm - noise - industrial -
I always could be wrong.
Lets share knowledge!
  • Go to the top of the page

8

Saturday, January 19th 2008, 7:23am

Quoted

Originally posted by CrackedMind

Quoted


No .cpp no debug!


it's wrong.

i have the same trouble with Open Source Edtion and Visual Studio 2008 Express Edition.

'Zi' option used in generated qt .vcproj files. For debugging is need 'ZI' option.

I think it will solve the problem.

Hi
I tried ZI, but it seems not working :(
  • Go to the top of the page

CrackedMind

Beginner

Posts: 34

Location: Russia

Occupation: just programmer

9

Saturday, January 19th 2008, 10:54am

Quoted

Originally posted by googling

Quoted

Originally posted by CrackedMind

Quoted


No .cpp no debug!


it's wrong.

i have the same trouble with Open Source Edtion and Visual Studio 2008 Express Edition.

'Zi' option used in generated qt .vcproj files. For debugging is need 'ZI' option.

I think it will solve the problem.

Hi
I tried ZI, but it seems not working :(

Not your project! Qt libraries...
So you can code punk?
  • Go to the top of the page

Rate this thread