[ phpeclipse-Bugs-1154950 ] Corruption of data when returning from function
"SourceForge.net" <[email protected]> Thu, 10 May 2007 23:55:24 -0700
| Newsgroups | gmane.comp.ide.eclipse.phpeclipse.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1154950, was opened at 2005-03-02 06:48 Message generated for change (Settings changed) made by scorphus You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1154950&group_id=57621 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Pablo Aguiar (scorphus) Summary: Corruption of data when returning from function Initial Comment: Hi Y'all I've come across an interesting corruption of data when using the debugger 'step into' feature. The effect doesn't occur when the function call in question is 'stepped over', so I'm certain it isn't the code, or the debugger. The function in question is handed an ID for a MySQL database record by the ::main() PHP script. This function then calls another function with this ID as a parameter which in turn accesses the database and returns the data relevant to the ID. The data returned is a price for a component. It is fetched correctly by the innermost function (eg 29.99), and returned to the second level function as per usual in function calls. The second level function then returns the price to ::main(), but when the variable is examined in ::main() it has suddenly been converted into '2005-01-03' or another such date. This, I'm guessing, is not the intended functionality of the plugin or the debugger. As I say, this doesn't occur when the function call in ::main() is stepped over, only when it is stepped into. Is this a known bug, or is it something new? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1154950&group_id=57621 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/