Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6253453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:59:49+00:00 2026-05-24T13:59:49+00:00

I have following problem: In my titanium project I save an image ( from

  • 0

I have following problem:

In my titanium project I save an image ( from UIView.toImage() ) to a file in applicationDirectory. Then I have a Obj-C module, where I read out that file.
Then an image processing algorithm is applied from a C++ Lib.

Before the algorithm is applied to the image I have a function which gets the ARGB-values from
the values I get from the file. I make a Pixel Matrix out of them.

Then, after the algorithm is applied I transform the new Pixel Matrix back into an UIImage to save it to a file.

My problem is, that sometimes the program crashes BEFORE the algorithm is applied (I use NSLogs to see where it crashes, that is right, isn’t it? ) and sometimes the whole Obj-C Module finishes its work …

I don’t get any error message in the Titanium Console… Is there some way to see why I get the crashs or is there a way to debug my titanium project efficiently?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T13:59:51+00:00Added an answer on May 24, 2026 at 1:59 pm

    I debug the modules that I work on by running my test project in XCode. When the app crashes, XCode will break at some unhelpful spot. BUT what is helpful is the stack trace. I can usually clean enough information from that to figure out what is going wrong, and where.

    Let me be explicit about “test project”.
    – If you are running your module by doing “titanium run” from the terminal, I will open the generated project in XCode and run it from there (you’ll see the path to it in the generated log statements after you “titanium run” your module).
    – Or, if you have your module as part of an actual project, build the project once, and open it in XCode. Run it, crash it, and you’ll get a stack trace to help you on your way.

    Another option would be for you to stick your really problematic code in some of the core Titanium Mobile code — like in the PlatformModule.m. This is a module like your own, except its source code is right there. Then you’ll be able set breakpoints, inspect your variables, and enjoy the full benefits of using XCode to see what’s going on in your objective-c.

    I hope this helps, and gets you on your way! Let me know if I can clarify anything further. -Dawson

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following problem using template instantiation [*]. file foo.h class Foo {
i have following problem from book introduction algorithm second edition by MIT university problem
I have the following problem: I select data from a DB, and for each
I have following problem. I want to create a file system based session storage
I have following Problem SELECT * from map_user_sticker WHERE map_user_sticker.user_id = 7; +----+---------+------------+ |
I still have following problem EXPLAIN EXTENDED SELECT `item`.`id`, `item`.`timestamp`, `item`.`label` FROM item WHERE
I have following problem module core contains test utils which is resused in dependent
I have the following problem. When I deploy my ear file to server\default\deploy folder
I have following problem: I have built a tabbar application with 4 tabs. I
I have following problem, Code: String a=Yeahh, I have no a idea what's happening

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.