Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to see PMString values in debug mode

New Here ,
Oct 15, 2012 Oct 15, 2012

Hi,

    can anyone help us to how to see the values of PMString in debug mode and also what the functionalities and properties of PMString.

Here what is the values for PMString

  PMString vUnit,hUnit ( vUnits and hUnits are horizontal and vertical values of some frames)

TOPICS
SDK
2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 15, 2012 Oct 15, 2012

Your SDK folder should contain a folder "docs", and in this "references". The full description of PMString (including, but not limited to, its types, member functions, attributes, and friends) can be found in the file "index.chm". (That's in my CS5 SDK folder, but I'm sure Adobe didn't change it that much.)

As for how to view live values of variables inside your debugger, you should check the documentation that came with it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 15, 2012 Oct 15, 2012

Hi  [Jongware],

   we searched debug documents in adobe indesign cs5.5 debugger, but we dint get any documents regarding debug and we searched documents in adobe partner site also, can you provide us any documents related to debug, if you have any documents related to debug, Please send to us

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 15, 2012 Oct 15, 2012

You could use APINavigator, read the following link for more details.

http://labs.adobe.com/technologies/indesign_apinavigator/

On a MAC you could create custom data formatters that is a C plugin

http://www.cocoabuilder.com/archive/xcode/314564-dataformatterplugin.html

For more details you can search the internet for custom data formatters on a MAC.

-Manan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 15, 2012 Oct 15, 2012

Hi,

   Thanks for your reply.. We are checking that link, Meanwhile can u check this below link and help to fix this issue. http://forums.adobe.com/message/4762632#4762632

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 15, 2012 Oct 15, 2012

In this link too you have asked this same question, to get more debugging information out of InDesign data types.

API Navigator should help you in that, it adds debugging information for a lot of InDesign datatype for any remaining datatypes you will have to write your own custom data formatters or resort to logging values to files or the console.

-Manan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 15, 2012 Oct 15, 2012

Hi,

    We are new to indesign debug and we are not having experience in this, we installed API Navigator in our system, but we dont know to see the values, Can you send me any documents related to  how to debug (basics for debug)

     Now we are using trial version of adobe indesign and debugger, because of trial version any debug problem wll occur?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 16, 2012 Oct 16, 2012

Some times it is easier to do an alert.

#include "CAlert.h"

CAlert::InformationAlert ( myPmstr );

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 16, 2012 Oct 16, 2012

Hi Pickory,

    Thanks for the valuable reply it was really helpful to see the values of PMString, When i applied same to PMReal data type, i had many errors and cant see the values of PMReal. even i want to see the values of PMMatrix and k2vector....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 17, 2012 Oct 17, 2012

Hello,

Using alert is OK for seeing simple things. Look at the PMString class, PMString.h, see AppendNumber.

Long term you are going to have to spend some time learning how to debug.

All the best.

P.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 17, 2012 Oct 17, 2012

Hi

    We are new to indesign debug and we are not having experience in this,Can u provide as any documents related to indesign debugger.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 17, 2012 Oct 17, 2012
LATEST

You shuld find every thing you need in the "getting-started" pdf. sdk / docs / guides.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines