objective c - gdb works from command line, but not from script -


If I execute each row of this script in the console GDB then it works as expected (to separate the hanging Apart from this, however, I can work around.) However, if I save it in a script file and run GDB with the -x option it hangs on [Visor install] line is.

script:

  brake - [NSAP phenomenon launch] Run p (four) It would be good to know why this is doing, or just a hack for it Work is done. ) [[NSBindal bundlewith path: @ "~ / library / application support / symbel / plugins / vizier.bundle"] load] p (four) [spacer installation] exit separately  

Play with:

  gdb ~ / desktop / misc / dt / dt2 / visorTerminal.app / content / maccode / terminal -x load.gdb  

version :

  $ gdb --version GNU gdb 6.3.50-20050815 (apple version gdb-1346) (Venus 18 September 20:40:51 UTC 2009) ... This GDB "x86_64- Apples of Darwin ".  

Update:

If I hang the cat file in GDB, as long as a 3 Do not wait between seconds, can it be a multithrred problem or something else?

Maybe you have a batch option.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -