Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Meaning of BUGLOG
Meaning of BUGLOG [message #9774] Wed, 30 May 2007 09:52 Go to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
My application creates a .BUGLOG File with the following content:

* C:\Programme\prohibisZA3\prohibisZA.exe 30.05.2007 09:11:58, user: Michael

0 ms: select substring_index(USER(),'@',1)
0 ms: SELECT * FROM prohibisZA_Kunden WHERE PRODUKT = 'prohibis' ORDER BY NAME
0 ms: SELECT COUNT(*) FROM prohibisZA_Kunden
0 ms: select substring_index(USER(),'@',1)
0 ms: SELECT * FROM prohibisZA_Kunden WHERE PRODUKT = 'prohibis' ORDER BY NAME
0 ms: SELECT COUNT(*) FROM prohibisZA_Kunden
0 ms: SELECT * FROM prohibisZA_Server WHERE GESELLSCHAFTER = '197100' ORDER BY FUNKTION
0 ms: SELECT COUNT(*) FROM prohibisZA_Server
0 ms: SELECT * FROM prohibisZA_Kunden WHERE PRODUKT = 'prohibis' ORDER BY NAME
0 ms: SELECT COUNT(*) FROM prohibisZA_Kunden


Are these errors? It seems that every SQL-Query is written in this BUGLOG. My application seems to work fine.

Michael
Re: Meaning of BUGLOG [message #9775 is a reply to message #9774] Wed, 30 May 2007 11:06 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, this is most likely a bug in u++.

There is a feature in U++ that tracks sql statments that take too long -> this can indicate unoptimal data model, e.g. missing index.

It looks like that for your application, the time threshold is for whatever reason set to 0ms. What database are you using?
Re: Meaning of BUGLOG [message #9779 is a reply to message #9774] Wed, 30 May 2007 11:27 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
I'm using MySQl 5.41 on Windows XP and Windows Server 2003. The BUGLOG is only created on the Windows 2003 Machine.

How can i set the time threshold?

Michael
Re: Meaning of BUGLOG [message #9828 is a reply to message #9774] Fri, 01 June 2007 12:54 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Does anybody has any ideas on how to solve this problem?

Michael
Re: Meaning of BUGLOG [message #9848 is a reply to message #9774] Sat, 02 June 2007 19:49 Go to previous message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Solved it.

Seems that it was caused by the way i was accessing a function for doing some sql-queries.

This function is member of my main-class which i made global because i wanted to access this sql-function from another class.

Now i changed the way how i access my sql-function from the other class by creating an instance of my main-class within this function.

Sounds complicated... but i just wanted to say more than SOLVED without an explanation for further visitor with problems like this.

Michael
Previous Topic: linking problems
Next Topic: A trouble with "All static" linking on Linux
Goto Forum:
  


Current Time: Fri May 03 14:11:06 CEST 2024

Total time taken to generate the page: 0.02221 seconds