Recent Posts

Pages: 1 ... 8 9 [10]
91
The files (personal annotations), (project annotations) and (workspace annotations) keep appearing in unexpected folders. The only time I have referenced the folders (through SlickEdit) where these files appear is by use File Difference (Tools menu) to navigate to a file to diff. All three files contain this:

<?xml version="1.0" encoding="UTF-8"?>
<CodeAnnotationData version="1.0" productName="SlickEdit Pro" productVersion="25.0.1.0">
</CodeAnnotationData>
92
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by JimmieC on March 30, 2021, 12:30:59 am »
I was looking around on the web about the error:
loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.

I found one suggestion to prepend the command with LC_ALL=C.
I tried it and got this from the SE Build window:

SE devVM@devVM bin]$ env LC_ALL=C; ./arm-fsl-linux-gnueabi-gdb -version
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
USER=devVM
SSH_AGENT_PID=1740
XDG_SESSION_TYPE=x11
SHLVL=0
LD_LIBRARY_PATH=
HOME=/home/devVM
QT4_IM_MODULE=ibus
DESKTOP_SESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/home/devVM/.local/share/applications/SlickEdit Pro-25.0.1.0.desktop
GTK_MODULES=gail:atk-bridge
GNOME_SHELL_SESSION_MODE=ubuntu
MANAGERPID=1526
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
GIO_LAUNCHED_DESKTOP_FILE_PID=85203
VSLICKINCLUDE=/home/devVM/slickedit-pro2020/macros
VSDIR=/home/devVM/slickedit-pro2020/bin/
IM_CONFIG_PHASE=1
LOGNAME=devVM
GTK_IM_MODULE=ibus
_=/usr/bin/dbus-update-activation-environment
JOURNAL_STREAM=8:38655
SLICKEDITCONFIG=/home/devVM/.slickedit/
XDG_SESSION_CLASS=user
USERNAME=devVM
SLKRUNS=1
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
WINDOWPATH=2
SLICKEDITCONFIGVERSION=/home/devVM/.slickedit/25.0.1/
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/devVM/slickedit-pro2020/bin/
SESSION_MANAGER=local/devVM:@/tmp/.ICE-unix/1839,unix/devVM:/tmp/.ICE-unix/1839
INVOCATION_ID=eaa1018ff7f64b9d947f6f9088283c48
XDG_RUNTIME_DIR=/run/user/1000
XDG_MENU_PREFIX=gnome-
DISPLAY=:0
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=ubuntu:GNOME
VSLICKBITMAPS=/home/devVM/slickedit-pro2020/bitmaps:plugin://
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_SESSION_DESKTOP=ubuntu
XMODIFIERS=@im=ibus
VSLICKBIN=/home/devVM/slickedit-pro2020/bin/
VSLICKUTF8=1
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SHELL=/bin/bash
VSLICKMACROS=/home/devVM/slickedit-pro2020/macros:plugin://
QT_ACCESSIBILITY=1
GDMSESSION=ubuntu
VSLICKMISC=/home/devVM/slickedit-pro2020/
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GJS_DEBUG_OUTPUT=stderr
VSLICKPATH=/home/devVM/.slickedit/25.0.1/:/home/devVM/slickedit-pro2020/bin/:/home/devVM/slickedit-pro2020/:/home/devVM/slickedit-pro2020/macros
VSLICKUNICODECALLS=1
QT_IM_MODULE=ibus
PWD=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
CLUTTER_IM_MODULE=ibus
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
VSLICKBIN1=/home/devVM/slickedit-pro2020/bin/
VSLICKBUILDALLOWUTF8=1
QT_PLUGIN_PATH=
VSROOT=/home/devVM/slickedit-pro2020/
LC_ALL=C
arm-fsl-linux-gnueabi-gdb: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
[SE devVM@devVM bin]$
93
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by JimmieC on March 29, 2021, 11:46:49 pm »
64-bit Ubuntu 20.04, 64-bit SlickEdit

Here is the output from the Build window:

SE devVM@devVM Documents]$
[SE devVM@devVM Documents]$ cd ..
[SE devVM@devVM devVM]$ cd ..
[SE devVM@devVM home]$ cd ..
[SE devVM@devVM /]$ arm-fsl-linux-gnueabi-gdb -version
sh: 1: arm-fsl-linux-gnueabi-gdb: not found
[SE devVM@devVM /]$ cd opt
[SE devVM@devVM opt]$ cd freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0
[SE devVM@devVM gcc-4.4.4-glibc-2.11.1-multilib-1.0]$ cd arm-fsl-linux-gnueabi/bin
[SE devVM@devVM bin]$ arm-fsl-linux-gnueabi-gdb -version
sh: 1: arm-fsl-linux-gnueabi-gdb: not found
[SE devVM@devVM bin]$ ./arm-fsl-linux-gnueabi-gdb -version
arm-fsl-linux-gnueabi-gdb: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
[SE devVM@devVM bin]$


94
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by Dennis on March 29, 2021, 11:05:35 pm »
7.1 is new enough.  My next suspicion would be that GDB expects a certain LD_LIBRARY_PATH to be set up to find shared libraries.  What happens if you try to run that version of GDB from SlickEdit's Build window.  Pass along -version just to see if it will run and report back.

Also, if you happen to be running 32-bit SlickEdit and the GDB is 64-bit, that would be a problem too.

95
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by JimmieC on March 29, 2021, 10:46:18 pm »
>> when we all rode horses to work
Funny! :)    Before the industrial revolution but after dinasours and the wheel


I see your point that if it runs in VSC it can probably run in SE.

I ignored the warning about the GDB version as you suggested. I setup the File, Socket Addr & Port, & GDB Configuration. Also, I set the timeout to the max of 10 seconds.
I get the error:    "Error starting debugger:  GDB has terminated prematurely"

When I check the remote unit via telnet, it is still listening and waiting.

Just for grins, I tried to connect via Debug->Attach Debugger->Attach to Remote Process (LLDB). This brings up a debug session in SE. Also, in telnet, the remote device shows "Remote debugging from host 192.168.169.2". However, nothing in the SE debug session is working and it exits after 20 seconds or so.

I don't think that it is supposed to work with LLDB, but I tried it on a whim and thought it might offer a clue.

Lastly, I captured this from the DEBUG CONSOLE in VSCode:
GNU gdb (GDB) 7.1
Copyright (C) 2010 Free Software Foundation, Inc.

So, even though my compiler is 4.4.4, it seems the GDB is 7.1. New to Linux, so I don't know if 7.1 is the GDB executable running on Ubuntu, the GDB Server running on the embedded device, or both.

hs2:
Thanks for the suggestion. I will try that after giving up on the current GDB. Not there yet, but I can see it on the horizon.
96
SlickEdit® / Re: Unexpected Capitalization
« Last post by cthomson on March 29, 2021, 10:02:38 pm »
Still no luck. Please post your user.cfg.xml. Maybe I need that.
I will post that file in the morning when I'm back at my computer.
97
SlickEdit® / Re: Unexpected Capitalization
« Last post by cthomson on March 29, 2021, 10:01:38 pm »
What is 'vw_pdi_itemtransactions' color coded as (Identifier or Keyword).  Had you added symbols to your color coding?
I coded it as preprocessor using a few regex expressions. For example, the word following CREATE VIEW or ALTER VIEW will always be the name of a view. I selected preprocessor because it was already the color I wanted and there are no actual preprocessor statements in Microsoft's T-SQL. I did not use identifier or symbols.
98
SlickEdit® / Re: Unable to create code annotation
« Last post by rjpontefract on March 29, 2021, 09:41:32 pm »
Hi, I checked the annotation files as requested.  The project annotation file is as follows:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<CodeAnnotationData version="1.0" productName="SlickEdit Pro" productVersion="25.0.1.0">
</CodeAnnotationData>

personal.sca has the following:
Code: [Select]
<?xml version="1.0" encoding="utf-8" ?>
<CodeAnnotationData version="1.0" productName="SlickEdit Tools" productVersion="2.0.0">
  <AnnotationDef id="580f3fc2-4747-49a2-8b46-cb500ca28e31" name="Comment" markerColor="-14513374" author="SlickEdit" creationDate="1/31/2007" lastModifiedUser="SlickEdit" lastModifiedDate="1/31/2007" version="1">
    <FieldDef name="Comment" type="Multiline Text Control" index="0">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
  </AnnotationDef>
  <AnnotationDef id="07546835-9367-4c73-ad6d-9205f9445df1" name="Bug" markerColor="-2818048" author="SlickEdit" creationDate="1/31/2007" lastModifiedUser="SlickEdit" lastModifiedDate="1/31/2007" version="1">
    <FieldDef name="Description" type="Multiline Text Control" index="0">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Status" type="Dropdown Control" index="1">
      <PredefinedValue name="OPEN" index="0" />
      <PredefinedValue name="PASSED" index="1" />
      <PredefinedValue name="FAILED" index="2" />
      <PredefinedValue name="DEFERRED" index="3" />
      <PredefinedValue name="NOT A BUG" index="4" />
      <DefaultValue><![CDATA[0]]></DefaultValue>
    </FieldDef>
  </AnnotationDef>
  <AnnotationDef id="895365b3-530b-44a5-a62e-767730b25bc9" name="Review Comment" markerColor="-11534177" author="SlickEdit" creationDate="1/31/2007" lastModifiedUser="SlickEdit" lastModifiedDate="1/31/2007" version="1">
    <FieldDef name="Issue" type="Multiline Text Control" index="0">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Resolution" type="Multiline Text Control" index="1">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Status" type="Dropdown Control" index="2">
      <PredefinedValue name="OPEN" index="0" />
      <PredefinedValue name="PASSED" index="1" />
      <PredefinedValue name="FAILED" index="2" />
      <PredefinedValue name="DEFERRED" index="3" />
      <PredefinedValue name="NOT A BUG" index="4" />
      <DefaultValue><![CDATA[0]]></DefaultValue>
    </FieldDef>
  </AnnotationDef>
  <AnnotationDef id="f3ee22ce-2305-477d-9732-f23fe7feab94" name="Task" markerColor="-16101890" author="SlickEdit" creationDate="1/31/2007" lastModifiedUser="SlickEdit" lastModifiedDate="1/31/2007" version="1">
    <FieldDef name="Description" type="Multiline Text Control" index="0">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Assigned to" type="Multiline Text Control" index="1">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Due date" type="Date Control" index="2">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Resolved" type="Checkbox Control" index="3">
      <DefaultValue><![CDATA[false]]></DefaultValue>
    </FieldDef>
  </AnnotationDef>
  <AnnotationDef name="Code Snippet" id="D83E3E5F-9EFF-4794-EBBB-FAFC43077A9A" author="SlickEdit" creationDate="8/26/2016" lastModifiedDate="8/26/2016" lastModifiedUser="SlickEdit" version="1">
      <FieldDef name="Summary" type="Text Control" index="0">
          <DefaultValue>
              <![CDATA[]]>
          </DefaultValue>
      </FieldDef>
      <FieldDef name="Comment" type="Multiline Text Control" index="1">
          <DefaultValue>
              <![CDATA[]]>
          </DefaultValue>
      </FieldDef>
      <FieldDef name="Code" type="Multiline Text Control" index="2" ModeName="Auto">
          <DefaultValue>
              <![CDATA[]]>
          </DefaultValue>
      </FieldDef>
  </AnnotationDef>
</CodeAnnotationData>

When I try to create a code annotation, I get the attached dialog with no options for the annotation type and repeated options for the annotation file.

Hope that helps.
99
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by hs2 on March 29, 2021, 08:39:57 pm »
I think it’s possible to update the cross-gdb. Sure, the build toolchain can sometimes not updated for legacy products for various reasons. But gdb is not directly related to the build toolchain and is usually backwards compatible to legacy debug (dwarf) information.
I’d give it a try to grab a newer cross-gdb.
100
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by Dennis on March 29, 2021, 08:37:33 pm »
What is the output of "/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-gdb" -version

Some builds of GDB do not properly identify the GDB version they are based on.  This is something that SlickEdit has checked, historically, because, back in the day, when we all rode horses to work, some versions of GDB did not support the machine interface command set.  If your GDB works with VSCode, it probably is new enough, because the folks who wrote VSCode have never had to deal with early versions of GDB.

Either way, that message is just a warning at this point, as you'll see, your GDB was still added to the list of configurations.
Pages: 1 ... 8 9 [10]