# problems debugging

**URL:** <https://forum.sierrawireless.com/t/problems-debugging/6208>\
**Category:** Development tools\
**Created:** [March 17, 2013, 1:15pm UTC](https://forum.sierrawireless.com/t/problems-debugging/6208 "2013-03-17T13:15:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ofernandez](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@ofernandez](https://forum.sierrawireless.com/u/ofernandez)\
**Post date:** [March 17, 2013, 1:15pm UTC](https://forum.sierrawireless.com/t/problems-debugging/6208/1 "2013-03-17T13:15:05Z")

</div>

i am using Developer Studio 2.3.0 Build Version 2.3.0.201212051546-R10684  
running in a windows 7 ultimate 32 bits

application uses:  
openat application framework package 2.37  
open at OS package 6.37  
firmware package 7.47  
internet library package 5.43  
location library 1.3

i can not launch a debug sesion successfully. the operations starts , download the dwl file, make a lot of readings…, but at the end of the launching process (95% after perfomr a lot of operations) i have the following error messages

“Error in final launch sequence  
Failed to execute MI command:  
-target-select remote localhost:10000  
Error message from debugger back end:  
Malformed response to offset query, timeout  
Malformed response to offset query, timeout”

Some ideas to fix it?

thanks.

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [March 20, 2013, 6:12am UTC](https://forum.sierrawireless.com/t/problems-debugging/6208/2 "2013-03-20T06:12:21Z")

</div>

Hi,

You aregetting this isseu while downloading the application on module(95% download and then error).Can you please try the following :

1. Close the post ,reset the module,open the post again and try to download.  
2.Is the module properly detecting on dev studio in target management.
2. Di you try with some other module on same firmware version or on some higher version.  
4.Also ,are you able to perform the same operation on dev studio 2.2.1

Thanks.

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [March 20, 2013, 6:40am UTC](https://forum.sierrawireless.com/t/problems-debugging/6208/3 "2013-03-20T06:40:33Z")

</div>

> [@Rex\_alex](#):
>
> 1. Close the post i[/i], reset the module, open the post i[/i] again and try to download.

“port” ❓

---

<div class="post-metadata">

**Author:** ![ofernandez](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@ofernandez](https://forum.sierrawireless.com/u/ofernandez)\
**Post date:** [March 30, 2013, 8:44pm UTC](https://forum.sierrawireless.com/t/problems-debugging/6208/4 "2013-03-30T20:44:22Z")

</div>

> [@Rex\_alex](#):
>
> Hi,
> 
> You aregetting this isseu while downloading the application on module(95% download and then error).Can you please try the following :
> 
> 1. Close the post ,reset the module,open the post again and try to download.  
> 2.Is the module properly detecting on dev studio in target management.
> 2. Di you try with some other module on same firmware version or on some higher version.  
> 4.Also ,are you able to perform the same operation on dev studio 2.2.1
> 
> Thanks.

Application download finish properly, after that, make a lot of another readings, and finally when tries to start the application to debug it does no work.

1)i tried a lot of times, even reseting the module where the failure happends.  
it fails with usb/serial converter and with the USB port directly. so i would like to think is not the port communication,

1. yes, it reads everything they want from it and shows in the target manegement window.
2. unfortunately i only have this module for developing , until the first prodution prototypes comes.  
anyway if i download an application and start in production mode the module works properly.

firmware version is not my choice, so it must work with this one.

1. i do not have previous versions of the dev studio to check.

any idea about what are the last operations, need to configure something else?

i try another time the next week.

---

<div class="post-metadata">

**Author:** ![ofernandez](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@ofernandez](https://forum.sierrawireless.com/u/ofernandez)\
**Post date:** [April 3, 2013, 6:14pm UTC](https://forum.sierrawireless.com/t/problems-debugging/6208/5 "2013-04-03T18:14:40Z")

</div>

looks than somebody got the same problem before.

[url][https://forum.sierrawireless.com/t/cannot-debug-in-embedded-gdb-mode/5088/1](https://forum.sierrawireless.com/t/cannot-debug-in-embedded-gdb-mode/5088/1)]

unfortunately , i am still trying …

---

<div class="post-metadata">

**Author:** ![daav](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/daav/32/2767_2.png) [@daav](https://forum.sierrawireless.com/u/daav)\
**Post date:** [April 4, 2013, 7:30am UTC](https://forum.sierrawireless.com/t/problems-debugging/6208/6 "2013-04-04T07:30:40Z")

</div>

There are identified issues with embedded GDB on FW 7.47.4 and 7.47.6, but FW 7.47.0 is working. Can you double check anyway which FW version you are running.  
Simple check also: are you running the Debug build configuration?  
As mentioned in the quoted post, Release configuration can’t be used for debugging. Anyway, DS should warn you if you’re trying to do this, but who knows… 😉

---

<div class="post-metadata">

**Author:** ![ofernandez](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@ofernandez](https://forum.sierrawireless.com/u/ofernandez)\
**Post date:** [April 4, 2013, 6:11pm UTC](https://forum.sierrawireless.com/t/problems-debugging/6208/7 "2013-04-04T18:11:59Z")

</div>

> [@daav](#):
>
> There are identified issues with embedded GDB on FW 7.47.4 and 7.47.6, but FW 7.47.0 is working. Can you double check anyway which FW version you are running.  
> Simple check also: are you running the Debug build configuration?  
> As mentioned in the quoted post, Release configuration can’t be used for debugging. Anyway, DS should warn you if you’re trying to do this, but who knows… 😉

ups, i did not know there were another subversion number,

yes unfortunately i have 7.47.4.201208311102 😮

I tryied 7.47.0 and now it works…but this was painful. 😢

thanks daav
