| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | CSet/2++ debugging problem |
Hallo All,
Is anybody out there who can help me? I got a strange problem with
the CSet debugger. I was debugging an application step by step, and when
execution jumped in what I believed a very simple function, the impossible
happened:
VOID GetSensors( VOID );
{
if( !(NumBoxes = CData.sens[i].ActiveSensors ))
{
WinMessageBox( HWND_TOP, 0L,(PSZ)"No active sensors",
NULL, 0L,
MB_OK | MB_MOVEABLE | MB_ICONEXCLAMATION );
NumBoxes = 3;
}
}
NumBoxes is a global variable; CData is a great struct globally allocated
at startup. (OK, it's not beautiful, but it works ) The execution enters
the function, finds NumBoxes = 0, performs the WinMessageBox ... jumps back
to if statement, performs the WinMessageBox ... jumps back to if statement,
and so on. 13 times! Every time I try to debug the function, it happens
again! If I let the program run, it has no problem at all.
What's going on? Is it a fault of me? I hope some one will help me.
thanks,
Alessandro Tripiccione
--- Terminate 1.50
* Origin: MODEM: Monumentaly Overpriced Data Eating Machine! (2:332/618.7)SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430 SEEN-BY: 711/807 808 809 934 942 949 712/353 515 713/888 800/1 7877/2809 @PATH: 332/618 617 418 403 331/110 334 301/1 24/24 396/1 3615/50 229/2 @PATH: 12/2442 711/409 808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.