If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
rob_bb10
Posts: 26
Registered: ‎06-09-2013
My Device: N serial
My Carrier: NIM

gdb - long time uploading

anyone has the problem when gdb remotely, need to upload everytime.

if the exe file is huge, need to wait for a while.

 

Should we follow the only way to debug remotely as below?

 

 

  1. Start GDB, but don't specify the application as an argument:
    gdb
      
  2. Load the symbol information for the application:
    file my_application
      
  3. If you're debugging remotely, set the target:
    target qnx com_port_specifier | host:port | pty
      
  4. If you're debugging remotely, send the application to the target:
    upload my_application /tmp/my_application
      
  5. Set any breakpoints. For example, to set a breakpoint in main():
    set break main
      
  6. Start the application:
    run
      

Can I ftp the exe file to BB10 and just specify the path and run it remotely?

Please use plain text.
BlackBerry Development Advisor (Retired)
garydev
Posts: 83
Registered: ‎10-10-2012
My Device: Z30
My Carrier: Bell

Re: gdb - long time uploading

Hi rob_bb10,

 

>anyone has the problem when gdb remotely, need to upload everytime.

>if the exe file is huge, need to wait for a while.

 

Is this still a problem for you?   Please reply to this post to let me know - I will investigate once you reply.

 

 

>Can I ftp the exe file to BB10 and just specify the path and run it remotely?

 

I would encourage you not to take this approach.

 

-g

Please use plain text.
Contributor
rob_bb10
Posts: 26
Registered: ‎06-09-2013
My Device: N serial
My Carrier: NIM

Re: gdb - long time uploading

Please use plain text.