How to display Eclipse console error into my alert dialog? - eclipse

Hi i am creating Dynamic Web Project into Eclipse IDE.
Sometimes the Internet is not working properly so at Eclipse displays an error in the console window.
I am a developer so I can view the error, but I need to display the error to the user while they are using this online application.
I have added try..catch blocks for user-friendly display error to user,
but in some of the places I can't Identify the error and Eclipse is displaying an error in the Console.
So I want to display that Console error into user Screen.
There is any way to display Console error to user...??

Related

Flutter debugger not showing error where it occurred in my Flutter app files

Flutter debugger is not showing the error where it occurred in my Flutter app files, instead, it shows the specific flutter file in which the error occurred this has made me unable to track where the error came from in my file. I get this when using flutter in vscode. The error is that I used a null check on a null value.
Flutter does this with a few errors, had the same issue with a declaration error where data from a JSON was int and I declared it as a list. I found that running it and inspecting the console on the HTML page sometimes helps and shows more info. If you could post the specific error it would be easier to help you find a solution.

Run web project on Server Tomcat 7 with Eclipse

I have big web application that uses GWT. When it starts a dialog window is openning on client side for logging. LogDialog consists of two textfields (password and name). Why when I use option Run on Server from Eclipse I can see only loading picture(it appears from beginnig). But then the LogDialog and main menu dont appear. As I know there is one jscript that Browser have to load to show Logdialog. I tried to view web app from GooGle Chrome and I discovered that it doesnt load Cashier.js (jscript file) and shows to me loading picture. What am I doing wrong? How can I catch the error?
As I know GWT compiler generate the client side Javascript code. The web app uses database for storing logname and pass.

crystal reports project deployment

I'm trying to deploy my crystal reports windows application project on clients computer.
the problem is I can't to load reports.
I installed CRRuntime_32bit_13_0_1 on client computer to solve the problem
but I encounter another error which appears when I try to load any of reports, the error is :
unhandled exception has occurred in your application, if you click continue, the application will ignore this error and attempt to continue. if you click quit, the application will close immediately,
when I click Continue button, my report loads without any data loaded.
what is the solution? the error detail is :
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
It sounds like the path to the data source is incorrect I would recommend ensuring that the path not only exists but has the right permissions.
thanks a lot,
I used manual addressing in assigning report file for my reportDocument.load() method
when program loads on client computer, address goes invalid.
the problem solved!
instad of using reportDocument and manual addressing I make new object from each report file (which haves .cs class) and assing it to crystalreportwiewer.reportsource:
Rad.ExecuteForms.Forms.Reports.CrystalReport1 noticeMainReport = new Reports.CrystalReport1();
noticeMainReport.SetDataSource(Main);
noticeMainReport.VerifyDatabase();
crystalReportViewer1.ReportSource = noticeMainReport;

how do i view the system console for google earth?

How do I view the system console for google earth?
The google KML Reference says that javascript "alert" statements are logged to the system console. At the following URL, look at the "" tag documentation and its subsection on "javascript". It says:
functions such as alert() and prompt() will not be displayed.
They will, however, be written to the system console, as will
other errors and exceptions.
I'm trying to find where this shows up.
I am working with google earth 5.2.1.1588 on a windows xp box.
I have tried starting google earth from the command-line and nothing showed up when my javascript issued an alert() command. I also looked at the windows event log (both the application and system logs).
Thank you!
you can use firebug, you can see system log in console tab of firebug, you can use firebug lite any where
On Windows you can install DebugView from Microsoft to see system messages from Google Earth in the output.

Weird Error from Xcode Debugger

I am using SQL lite database in my iPhone app. I have a refresh button on my Home screen and upon click of then refresh button I parse data from my web service and store the results into a SQL lite database. When I click on refresh button repeatedly I get an error. The error occurs after a variable number of clicks/refreshes each time. The error is:
Failed to load debugging library at:
/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib
Custom data formatters are disabled.
Error message was: 0xe00805 "dlopen(/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib, 10): image not found"`
After this error, my app crashes and when I logged the error it gives me an error "Unable to open database"
Please help me to resolve this error.
Thanks
Sandy
It would appear that the debugger is having a problem loading the data formatters that create the displays for various datatypes in the debugger window's variable display panel. If you've added any customer formatters, you should remove them.
Try running the program without the debugger and see if you get a crash. If so, the problem is in the app. If not, it's most likely in Xcode itself. I would test a dummy project and see if you get the same error.
It's possible there is hellish recursion somewhere in your code. I have seen that bring the debugger down but not with this error message.