[Logo]
Forums Register Login
Stacktrace on device
I got this Midlet which sends a four digit numeric string to the server.
Works fine in the emulator.
I deployed it on two different Nokia handset models.
On one, it works fine, just like the emulator.
However, on the other, it gives me a HTTP connection error.

This is driving me crazy.
Is there any way to check out the stack trace on a real handset? All I am limited to is the exception.getMessage() which is of no use really.

What a busy little bee you are today, Maneesh!

I haven't done this in a while, but I think I just dumped the stacktrace to a popup dialog myself.
 

Tim Holloway wrote:What a busy little bee you are today, Maneesh!
I haven't done this in a while, but I think I just dumped the stacktrace to a popup dialog myself.




Big question. How do I actually go about dumping the stack trace on the dialog?
Unfortunately the JME version of exception does not offer access to the stack trace elements and the toString() just returns the e.getMessage().
Would this help or have you already seen it?
http://www.forum.nokia.com/Develop/Java/Tools/Series40_debugger.xhtml
Thanks Darryl.
That looks promising. Will give it a whirl.
Update:
The debugger link cites the system requirements as Windoze XP and 7. I use Snow Leopard and was reluctant to get my Windoze VM configured with everything just to solve this problem.

I invested some time googling and eventually found http://blogs.forum.nokia.com/blog/hartti-suomelas-forum-nokia-blog/2006/11/09/series-40-and-network-configuration I have posted the link here for future users.
It seems opera works, but to get midlets one needs to tweak the access point.
Who would have thought of this?

Anyway, this solves my problem (running the midlet, not the stack trace one).

Thanks Tim & Darryl for your suggestions and help.
It means our mission is in jeapordy! Quick, read this tiny ad!
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature


This thread has been viewed 1025 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 25, 2018 12:35:50.