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
Debug - Strange behavior
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
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.
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 7
- Joined: Wed Jun 14, 2006 2:36 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
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
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 101 guests