iOS Question Debug vs Release

Discussion in 'iOS Questions' started by moore_it, Jan 29, 2015.

  1. moore_it

    moore_it Active Member Licensed User

    When i put a code in resize event of a page

    Private sub pagename_Resize(Width As Int, Height As Int)
    end sub

    in debug if i don't put a breakpoint in the code (because i put breakpoint in another class) the sub not performed, if i put a breakpoint in the class (not necessary in the sub) the sub is performed , in release mode work fine ...

    It's a bug ?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you upload a project that demonstrates this issue?
     
  3. tufanv

    tufanv Expert Licensed User

    I have a similar problem. When I run in debug mode the app does not run it says

    i=list1.Get(secilen)
    javac 1.7.0_71
    shell\src\com\ctmobilesoft\bmi14\b4i_main_subs_0.java:2145: error: double cannot be dereferenced
    _i = BA.ObjectToNumber(_list1.runMethod(false,"Get:",(Object)(_secilen))).intValue;Debug.locals.put("i", _i);
    ^
    1 error


    But when I run in release mode no problems. Thats why I ant use the debug mode. How can i fix this ?

     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Please start a new thread for this and also post a project that demonstrates it.
     
  5. moore_it

    moore_it Active Member Licensed User

    I hope it's helpful to understand the problem

    Thanks
    Toni
     

    Attached Files:

  6. Erel

    Erel Administrator Staff Member Licensed User

    There is a hint in the logs when you run the program about a nil view controller.

    The page variable cannot be named Main. This is the reference to the Main module.
     
  7. moore_it

    moore_it Active Member Licensed User

    Thanks Erel
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice