Debug - Strange behavior

For all your non-technical questions.
marlonguerios
Posts: 7
Joined: Wed Jun 14, 2006 2:36 am

Debug - Strange behavior

Postby marlonguerios » Tue Jun 20, 2006 10:53 am

I was trying to debug my installer project when the debugger started to jump to wrong lines (I was using the F8 key). The lines the debugger was over doesn't match with what is actually happening.
It seems that the "source code" is not synchronized with the "running code".

Does someone know about such a behavior described above?

Thanks in advance...

Marlon

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Tue Jun 20, 2006 1:40 pm

Commented lines will be skipped in the debugger, one by one.
Also, lines that have been excluded using Compiler Variables will also be skipped, one by one.
By skipped, I mean the debugger will highlight each line, but not actually do anything.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

marlonguerios
Posts: 7
Joined: Wed Jun 14, 2006 2:36 am

Postby marlonguerios » Wed Jun 21, 2006 2:35 am

Thanks for you answer.

But, it's not the behavior I could see here. I'll give you an example:

If I have four lines:

1. Set Variable Something
2. MessageBox: Title, Message
3. Microsoft Sql Server Script: ...
4. Set Variable Another thing

When line 3 is highlight it executes the statement that is in the line 1, when line 4 is highlight, it executes the statement in line 2 and so on. It's an example.

In my case, debugger is over a comment and it shows a MessageBox that was actually 3 lines before.

I've already tried to clean the output folder and rebuild again several times.

Anyway, thanks.

Marlon

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Wed Jun 21, 2006 6:38 pm

That's pretty strange! Maybe you can send me your setup script and project file - I will pass it on to development so they can see if you have caught anything here in your net.
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 14 guests