Debug - Strange behavior

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

Debug - Strange behavior

Post by marlonguerios »

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:

Post by CandiceJones »

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
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
marlonguerios
Posts: 7
Joined: Wed Jun 14, 2006 2:36 am

Post by marlonguerios »

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:

Post by CandiceJones »

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
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply